Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndreasSchwab:13.1
osc
osc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File osc.patch of Package osc
Index: osc-0.177.0/osc/core.py =================================================================== --- osc-0.177.0.orig/osc/core.py +++ osc-0.177.0/osc/core.py @@ -6132,7 +6132,7 @@ def get_prj_results(apiurl, prj, hide_le if i == "expansion error": continue legend.append('%3s %-20s' % (j, i)) - legend.append(' ? buildstatus not available (only new packages)') + legend.append('%3s %-20s' % ('?', 'unknown')) if vertical: for i in range(0, len(targets)): @@ -6626,9 +6626,9 @@ def store_write_string(dir, file, string os.mkdir(os.path.join(dir, store, subdir)) fname = os.path.join(dir, store, subdir, file) try: - f = open(fname + '.new', 'w') - if not isinstance(string, str): - string = decode_it(string) + f = open(fname + '.new', 'wb') + if isinstance(string, str): + string = string.encode() f.write(string) f.close() os.rename(fname + '.new', fname)
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