Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix _diskcmp to work with geom names

ticket:	#2334
  • Loading branch information...
commit 8ff946787c16522723ac0af8e9f17d6c02986fb6 1 parent ccdff24
William Grzybowski williambr authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 gui/storage/
6 gui/storage/
@@ -56,8 +56,10 @@
#FIXME: Move to a utils module
def _diskcmp(a, b):
- rega ='^([a-z]+)(\d+)$', a[1])
- regb ='^([a-z]+)(\d+)$', b[1])
+ rega ='^([a-z/]+)(\d+)$', a[1])
+ regb ='^([a-z/]+)(\d+)$', b[1])
+ if not(rega and regb):
+ return 0
return cmp(
(a[0],, int(,
(b[0],, int(,
Please sign in to comment.
Something went wrong with that request. Please try again.