Index: trunk/wikiation/installer/installers.py |
— | — | @@ -273,15 +273,12 @@ |
274 | 274 | print "Cannot find '"+system_name+"' in the list of supported installation systems." |
275 | 275 | return None |
276 | 276 | else: |
277 | | - system=systems[system_name] |
| 277 | + sYstem=systems[system_name] |
278 | 278 | |
279 | | - return systems[system_name] |
| 279 | + return sYstem() |
280 | 280 | |
281 | | - |
| 281 | +systems={'wikiation_toolkit':Toolkit_Installer,'extension': Extension_Installer, 'mediawiki':Mediawiki_Installer} |
282 | 282 | |
283 | | -systems={'wikiation_toolkit':Toolkit_Installer(),'extension': Extension_Installer(), 'mediawiki':Mediawiki_Installer()} |
284 | | - |
285 | | - |
286 | 283 | if __name__=="__main__": |
287 | 284 | print "testing installers.py module" |
288 | 285 | print "CTRL-C to abort. run installer.py to actually use the installer" |