From 2b9c8df66ebca27ab79efcec9cdb18209c58a1e5 2007-04-12 19:49:38 From: walter.doerwald Date: 2007-04-12 19:49:38 Subject: [PATCH] Sort directoy listings (case sensitive with files and dirs mixed). --- diff --git a/IPython/Extensions/ipipe.py b/IPython/Extensions/ipipe.py index 4ced5b2..e49f00f 100644 --- a/IPython/Extensions/ipipe.py +++ b/IPython/Extensions/ipipe.py @@ -1213,7 +1213,7 @@ class ils(Table): def __iter__(self): base = ifile(self.base) yield (base / os.pardir).abspath() - for child in base.listdir(): + for child in sorted(base.listdir()): if self.dirs: if self.files: yield child diff --git a/doc/ChangeLog b/doc/ChangeLog index a7d560b..95b9843 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2007-04-12 Walter Doerwald + + * IPython/Extensions/ipipe.py: (ils) Directoy listings are now + sorted (case sensitive with files and dirs mixed). + 2007-04-10 Fernando Perez * IPython/Release.py (version): Open trunk for 0.8.1 development.