diff options
author | André Erdmann <dywi@mailerd.de> | 2013-07-16 00:29:26 +0200 |
---|---|---|
committer | André Erdmann <dywi@mailerd.de> | 2013-07-16 00:29:26 +0200 |
commit | bf85b8297c1581384d9331d750e725a3ff8a650c (patch) | |
tree | 5c20ba104c0da23f5d0fdaa35f27deb72a3c3742 | |
parent | --run-script: respect EvENT_HOOK_RESTRICT (diff) | |
download | R_overlay-bf85b8297c1581384d9331d750e725a3ff8a650c.tar.gz R_overlay-bf85b8297c1581384d9331d750e725a3ff8a650c.tar.bz2 R_overlay-bf85b8297c1581384d9331d750e725a3ff8a650c.zip |
roverlay/depres/listeners: sort unresolvable
-rw-r--r-- | roverlay/depres/listeners.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roverlay/depres/listeners.py b/roverlay/depres/listeners.py index 3d5ceaf..91d4a0b 100644 --- a/roverlay/depres/listeners.py +++ b/roverlay/depres/listeners.py @@ -83,7 +83,9 @@ class SetFileListener ( DependencyResolverListener ): fh = open ( self._file, 'w' ) if sort_entries: - fh.write ( '\n'.join ( sorted ( self._buffer ) ) ) + fh.write ( '\n'.join ( + sorted ( self._buffer, key=lambda x: x.lower() ) ) + ) else: fh.write ( '\n'.join ( self._buffer ) ) |