Modify ↓
Ticket #364 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.
Applied in [d9762f9b90ce82f80e89fdaee5cd30300e08cc24] (SVN r2702) thanks for the patch.