Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 898408 Details for
Bug 1095227
nsinstall.py from firefox-24.5.0-1.el5_10 not python 2.4 compatible
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch remove remaining format() from nsinstall.py
nsinstall-format.patch (text/plain), 3.47 KB, created by
Martin Schuppert
on 2014-05-22 15:05:53 UTC
(
hide
)
Description:
patch remove remaining format() from nsinstall.py
Filename:
MIME Type:
Creator:
Martin Schuppert
Created:
2014-05-22 15:05:53 UTC
Size:
3.47 KB
patch
obsolete
>diff -up mozilla-esr24/config/nsinstall.py.format mozilla-esr24/config/nsinstall.py >--- mozilla-esr24/config/nsinstall.py.format 2014-05-22 10:00:35.150360916 +0200 >+++ mozilla-esr24/config/nsinstall.py 2014-05-22 10:12:25.492360916 +0200 >@@ -38,7 +38,7 @@ def _nsinstall_internal(argv): > # The remaining arguments are not used in our tree, thus they're not > # implented. > def BadArg(option, opt, value, parser): >- parser.error('option not supported: {0}'.format(opt)) >+ parser.error('option not supported: %s' % opt) > > p.add_option('-C', action="callback", metavar="CWD", > callback=BadArg, >@@ -55,8 +55,8 @@ def _nsinstall_internal(argv): > try: > options.m = int(options.m, 8) > except: >- sys.stderr.write('nsinstall: {0} is not a valid mode\n' >- .format(options.m)) >+ sys.stderr.write('nsinstall: %s: is not a valid mode\n' >+ % options.m) > return 1 > > # just create one directory? >@@ -64,7 +64,7 @@ def _nsinstall_internal(argv): > dir = os.path.abspath(dir) > if os.path.exists(dir): > if not os.path.isdir(dir): >- sys.stderr.write('nsinstall: {0} is not a directory'.format(dir)+"\n") >+ sys.stderr.write('nsinstall: %s is not a directory' % dir+"\n") > return 1 > if mode: > os.chmod(dir, mode) >@@ -79,7 +79,7 @@ def _nsinstall_internal(argv): > # We might have hit EEXIST due to a race condition (see bug 463411) -- try again once > if try_again: > return maybe_create_dir(dir, mode, False) >- print("nsinstall: failed to create directory {0}: {1}".format(dir, e)) >+ print("nsinstall: failed to create directory %s : %s" % (dir,e)) > return 1 > else: > return 0 > >diff -up mozilla-esr24/js/src/config/nsinstall.py.python2 mozilla-esr24/js/src/config/nsinstall.py >--- mozilla-esr24/js/src/config/nsinstall.py.python2 2014-05-22 10:00:35.150360916 +0200 >+++ mozilla-esr24/js/src/config/nsinstall.py 2014-05-22 10:12:25.492360916 +0200 >@@ -38,7 +38,7 @@ def _nsinstall_internal(argv): > # The remaining arguments are not used in our tree, thus they're not > # implented. > def BadArg(option, opt, value, parser): >- parser.error('option not supported: {0}'.format(opt)) >+ parser.error('option not supported: %s' % opt) > > p.add_option('-C', action="callback", metavar="CWD", > callback=BadArg, >@@ -55,8 +55,8 @@ def _nsinstall_internal(argv): > try: > options.m = int(options.m, 8) > except: >- sys.stderr.write('nsinstall: {0} is not a valid mode\n' >- .format(options.m)) >+ sys.stderr.write('nsinstall: %s: is not a valid mode\n' >+ % options.m) > return 1 > > # just create one directory? >@@ -64,7 +64,7 @@ def _nsinstall_internal(argv): > dir = os.path.abspath(dir) > if os.path.exists(dir): > if not os.path.isdir(dir): >- sys.stderr.write('nsinstall: {0} is not a directory'.format(dir)+"\n") >+ sys.stderr.write('nsinstall: %s is not a directory' % dir+"\n") > return 1 > if mode: > os.chmod(dir, mode) >@@ -79,7 +79,7 @@ def _nsinstall_internal(argv): > # We might have hit EEXIST due to a race condition (see bug 463411) -- try again once > if try_again: > return maybe_create_dir(dir, mode, False) >- print("nsinstall: failed to create directory {0}: {1}".format(dir, e)) >+ print("nsinstall: failed to create directory %s : %s" % (dir,e)) > return 1 > else: > return 0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1095227
: 898408