From: Dana Jansens Date: Mon, 11 Feb 2008 14:40:24 +0000 (-0500) Subject: using () for a class that doesn't inherit breaks old python X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=be6fd760f1175efdebda78715f5f6c03dac5a9be;p=chaz%2Fopenbox using () for a class that doesn't inherit breaks old python --- diff --git a/tools/xdg-autostart/xdg-autostart b/tools/xdg-autostart/xdg-autostart index 58855500..95ee5f51 100755 --- a/tools/xdg-autostart/xdg-autostart +++ b/tools/xdg-autostart/xdg-autostart @@ -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)