From be6fd760f1175efdebda78715f5f6c03dac5a9be Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 11 Feb 2008 09:40:24 -0500 Subject: [PATCH] using () for a class that doesn't inherit breaks old python --- tools/xdg-autostart/xdg-autostart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2