Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:matthewdva:OBSTools
osc
00-osc_fix_importsrcpkg_name_option.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 00-osc_fix_importsrcpkg_name_option.patch of Package osc
diff --git a/osc/commandline.py b/osc/commandline.py index 6025306..82e6949 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -7886,7 +7886,8 @@ Please submit there instead, or use --nodevelproject to force direct submission. print('please specify a package name with the \'--name\' option. ' \ 'The automatic detection failed', file=sys.stderr) sys.exit(1) - pac = pac.decode() + if not type(pac) == str: + pac = pac.decode() if conf.config['do_package_tracking']: createPackageDir(os.path.join(project.dir, pac), project) else:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor