Skip to content

Commit

Permalink
Fixed broken upgrade command
Browse files Browse the repository at this point in the history
  • Loading branch information
ajventer-tal committed Feb 19, 2018
1 parent 56e586e commit cb2ff9d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pyKAN
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,7 @@ if __name__ == '__main__':
MM.remove(mod)

def upgradeable():
mods = []
if options.module:
for mod_opt in options.modules:
mods += [i for i in repo.find_latest(mod_opt) if i in INSTALLED.all_modnames()]
else:
mods = list(INSTALLED.all_modnames())
mods = list(INSTALLED.all_modnames())
upgradeables = []
for mod in mods:
m = repo.find_latest(mod)
Expand Down

0 comments on commit cb2ff9d

Please sign in to comment.