using () for a class that doesn't inherit breaks old python
authorDana Jansens <danakj@orodu.net>
Mon, 11 Feb 2008 14:40:24 +0000 (09:40 -0500)
committerDana Jansens <danakj@orodu.net>
Mon, 11 Feb 2008 14:40:24 +0000 (09:40 -0500)
tools/xdg-autostart/xdg-autostart

index 5885550..95ee5f5 100755 (executable)
@@ -67,7 +67,7 @@ def main(argv=sys.argv):
         if list: autofile.list(environments)
         else: autofile.run(environments)
 
         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)
     def __init__(self, path):
         self.path = path
         self.filename = os.path.basename(path)