Skip to content

Commit

Permalink
Update osc/commandline.py
Browse files Browse the repository at this point in the history
Co-authored-by: Dirk Mueller <dmueller@suse.com>
  • Loading branch information
adrianschroeter and dirkmueller authored Sep 11, 2024
1 parent 7805c84 commit 25cdb76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -5363,7 +5363,7 @@ def do_checkout(self, subcmd, opts, *args):
show_project_meta(apiurl, project)

scm_url = show_scmsync(apiurl, project)
if scm_url is not None and opts.native_obs_package is False:
if scm_url is not None and not opts.native_obs_package:
if not os.path.isfile('/usr/lib/obs/service/obs_scm_bridge'):
raise oscerr.OscIOError(None, 'Install the obs-scm-bridge package to work on packages managed in scm (git)!')
os.putenv("OSC_VERSION", get_osc_version())
Expand Down

0 comments on commit 25cdb76

Please sign in to comment.