Permalink
Browse files

init results in two calls to update

  • Loading branch information...
pingali committed Apr 23, 2016
1 parent a3fe04e commit abca8f7070ba8f9a65cbf9d7495e58dc43417f51
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/dgit
View
@@ -480,7 +480,7 @@ def profile(action, globalvar):
"""
Create configuration file (~/.dgit.ini)
"""
- if action in ["update", "init"]:
+ if action in ["update"]:
config.update(globalvar)
elif action == "show":
config.init(globalvar, show=True)

0 comments on commit abca8f7

Please sign in to comment.