Site
Gitweb
Static
projects
/
bb-sync-api.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cbc598
)
Bug fix
author
Jakob
<jakob@jcornell.net>
Fri, 6 Dec 2019 19:22:37 +0000
(13:22 -0600)
committer
Jakob
<jakob@jcornell.net>
Fri, 6 Dec 2019 19:22:37 +0000
(13:22 -0600)
fs.py
patch
|
blob
|
history
diff --git
a/fs.py
b/fs.py
index 0a22c4f59c502ba0e3f1a984e8eef9e1de6aadcf..58ea4de20134d1677f93a4e6c0b95cc7a7dcad21 100644
(file)
--- a/
fs.py
+++ b/
fs.py
@@
-103,7
+103,7
@@
def _extract_version(path):
if match:
version = int(match.group('version')) if match.group('version') else None
if (version is None) == path.is_dir():
- info = VersionInfo(match.group('id'),
int(match.group('version'))
)
+ info = VersionInfo(match.group('id'),
version
)
return info