summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <h_wendel@cojobo.net>2005-05-29 14:45:44 +0000
committerHeinrich Wendel <h_wendel@cojobo.net>2005-05-29 14:45:44 +0000
commitccd1d6980e28205e4a530ea1629d5f5f9c0be5eb (patch)
tree4579428bf51b9648d5b55ca7ce81c710abc90c52
parent319a1d7eb4d24b558da4f98105d353cfd5616b2a (diff)
semantics
-rw-r--r--xdg/Menu.py6
-rw-r--r--xdg/MenuEditor.py2
2 files changed, 3 insertions, 5 deletions
diff --git a/xdg/Menu.py b/xdg/Menu.py
index f016507..2db8427 100644
--- a/xdg/Menu.py
+++ b/xdg/Menu.py
@@ -3,9 +3,6 @@ Implementation of the XDG Menu Specification Version 1.0.draft-1
http://standards.freedesktop.org/menu-spec/
"""
-from __future__ import generators
-import os, xml.dom.minidom
-
from xdg.BaseDirectory import *
from xdg.DesktopEntry import *
from xdg.Exceptions import *
@@ -13,6 +10,9 @@ from xdg.Exceptions import *
import xdg.Locale
import xdg.Config
+import xml.dom.minidom
+import os
+
ELEMENT_NODE = xml.dom.Node.ELEMENT_NODE
class Menu:
diff --git a/xdg/MenuEditor.py b/xdg/MenuEditor.py
index b80fba5..42e30ad 100644
--- a/xdg/MenuEditor.py
+++ b/xdg/MenuEditor.py
@@ -5,8 +5,6 @@ from xdg.BaseDirectory import *
from xdg.Exceptions import *
from xdg.DesktopEntry import *
-from __future__ import generators
-
import xml.dom.minidom
import os