Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
devflow
Commits
97b86f46
Commit
97b86f46
authored
Jan 30, 2013
by
Christos Stavrakakis
Browse files
Case of none version_file
parent
0f6fd691
Changes
1
Hide whitespace changes
Inline
Side-by-side
devflow/versioning.py
View file @
97b86f46
...
...
@@ -455,10 +455,11 @@ __version_user_info__ = "%(user_info)s"
for
_pkg_name
,
pkg_info
in
config
[
'packages'
].
items
():
version_filename
=
pkg_info
[
'version_file'
]
log
.
info
(
"Updating version file '%s'"
%
version_filename
)
version_file
=
file
(
version_filename
,
"w+"
)
version_file
.
write
(
content
)
version_file
.
close
()
if
version_filename
:
log
.
info
(
"Updating version file '%s'"
%
version_filename
)
version_file
=
file
(
version_filename
,
"w+"
)
version_file
.
write
(
content
)
version_file
.
close
()
def
bump_version_main
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment