Modify

Ticket #364 (closed defect: fixed)

Opened 16 years ago

Last modified 16 years ago

Installation fails (syntax error in Plugin.py)

Reported by: naapuri Owned by: desai
Priority: blocker Milestone: Bcfg2 0.9.0 Release
Component: bcfg2-client Version:
Keywords: Cc:

Description

Installation fails (svn2701)

Compiling /usr/lib/python2.4/site-packages/Bcfg2/Server/Plugin.py ...
  File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Plugin.py", line 94
    def __init__(self, name, fam)
                                 ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (40)
pycentral pkginstall: error byte-compiling files (40)

The obvious fix seems to be:

===================================================================
--- src/lib/Server/Plugin.py    (revision 2701)
+++ src/lib/Server/Plugin.py    (working copy)
@@ -91,7 +91,7 @@
     __child__ = FileBacked
     patterns = re.compile('.*')

-    def __init__(self, name, fam)
+    def __init__(self, name, fam):
         object.__init__(self)
         self.name = name
         self.fam = fam

Attachments

Change History

comment:1 Changed 16 years ago by desai

  • Status changed from new to closed
  • Resolution set to fixed

Applied in [d9762f9b90ce82f80e89fdaee5cd30300e08cc24] (SVN r2702) thanks for the patch.

comment:2 Changed 16 years ago by desai

  • Milestone set to Bcfg2 0.9.0 Release

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.