summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/repoman b/bin/repoman
index 5db3b6077..f9900781a 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -481,9 +481,8 @@ if options.mode in ('last', 'lfull'):
# commit (like if Manifest generation fails).
can_force = True
-try:
- portdir, portdir_overlay, mydir = utilities.FindPortdir(repoman_settings)
-except ValueError:
+portdir, portdir_overlay, mydir = utilities.FindPortdir(repoman_settings)
+if portdir is None:
sys.exit(1)
vcs = None