projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07902d6
)
Fix indentation
author
Magnus Hagander
<magnus@hagander.net>
Sat, 1 Mar 2014 19:08:43 +0000
(14:08 -0500)
committer
Magnus Hagander
<magnus@hagander.net>
Sat, 1 Mar 2014 19:08:43 +0000
(14:08 -0500)
Yay for spaces vs tabs!
pgweb/util/misc.py
patch
|
blob
|
blame
|
history
diff --git
a/pgweb/util/misc.py
b/pgweb/util/misc.py
index 831b545291931ab25fd412d42ae4b737f09b54a9..06aef2fbf781c5800a0842964ae5c105756cc633 100644
(file)
--- a/
pgweb/util/misc.py
+++ b/
pgweb/util/misc.py
@@
-68,8
+68,8
@@
def version_sort(l):
mkey = l['url']
m = re.match('v([0-9]+)\.([0-9]+)\.([0-9]+)$',l['url'])
if m:
- mkey = m.group(1) + '%02d' % int(m.group(2)) + '%02d' % int(m.group(3));
+ mkey = m.group(1) + '%02d' % int(m.group(2)) + '%02d' % int(m.group(3));
m = re.match('v([0-9]+)\.([0-9]+)$',l['url'])
if m:
- mkey = m.group(1) + '%02d' % int(m.group(2));
+ mkey = m.group(1) + '%02d' % int(m.group(2));
return mkey