aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xelogv19
-rw-r--r--setup.py10
2 files changed, 14 insertions, 15 deletions
diff --git a/elogv b/elogv
index 4b4f85f..eb3a2d2 100755
--- a/elogv
+++ b/elogv
@@ -20,21 +20,22 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-import os
-import sys
-import re
-from datetime import datetime
+import bz2
import curses
import curses.ascii
-import textwrap
-from portage import settings as port_settings
-from glob import glob
import gettext
-import locale
import gzip
-import bz2
+import locale
import lzma
+import os
+import re
import signal
+import sys
+import textwrap
+from datetime import datetime
+from glob import glob
+
+from portage import settings as port_settings
_LOCALE_CATEGORY_PAIRS = (
(locale.LC_COLLATE, "LC_COLLATE"),
diff --git a/setup.py b/setup.py
index d182056..c499edb 100644
--- a/setup.py
+++ b/setup.py
@@ -1,13 +1,11 @@
-from setuptools import setup
-from setuptools import Command
-from setuptools.command.build import build as _build
-from setuptools.command.install import install as _install
-
import logging
-
import os
from glob import glob
+from setuptools import Command, setup
+from setuptools.command.build import build as _build
+from setuptools.command.install import install as _install
+
## Snippet of code found on
## http://developer.berlios.de/snippet/detail.php?type=snippet&id=100019
## Useful to handle *.po files under distutils