We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb14fc3 commit 92cf2abCopy full SHA for 92cf2ab
pisi/operations/upgrade.py
@@ -252,7 +252,11 @@ def upgrade(packages = [], repo = None):
252
finally:
253
ctx.exec_usysconf()
254
255
- return True
+ # Prior to 2c63650, this function had no return statement at all on the "complete" codepath.
256
+ # 2c63650 added a "return True". Unfortunately, it appears that "False" means "Ask the user for confirmation",
257
+ # "True" means "the operation failed", and "None" means "Success". Why? No idea! But removing the return statement
258
+ # or returning None fixes #173, so... do what works, I guess.
259
+ return None
260
261
262
def plan_upgrade(A, force_replaced=True, replaces=None):
0 commit comments