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 <[email protected]>
  • Loading branch information
2 people authored and dmach committed Nov 8, 2024
1 parent 8dff7f5 commit 8216118
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 @@ -5120,7 +5120,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 8216118

Please sign in to comment.