using () for a class that doesn't inherit breaks old python

This commit is contained in:
Dana Jansens 2008-02-11 09:40:24 -05:00
parent 64398a2b5f
commit be6fd760f1

View file

@ -67,7 +67,7 @@ def main(argv=sys.argv):
if list: autofile.list(environments)
else: autofile.run(environments)
class AutostartFile():
class AutostartFile:
def __init__(self, path):
self.path = path
self.filename = os.path.basename(path)