Skip to content

Commit b3cbfe9

Browse files
committed
Correct anonymous flag
Signed-off-by: Matthew Ballance <matt.ballance@gmail.com>
1 parent a70f71f commit b3cbfe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ivpm/pkg_types/package_git.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def update(self, update_info : ProjectUpdateInfo) -> ProjInfo:
6060
# Modify the URL to use SSH/key-based clones
6161
# unless anonymous cloning was requested
6262
if update_info.args is not None and hasattr(update_info.args, "anonymous"):
63-
use_anonymous = True
63+
use_anonymous = getattr(update_info.args, "anonymous")
6464
else:
6565
use_anonymous = False
6666

0 commit comments

Comments
 (0)