diff --git a/NEWS b/NEWS index f15524d1..f66c1b0e 100644 --- a/NEWS +++ b/NEWS @@ -16,6 +16,7 @@ - add "osc aggregate --nosources" option - add "request clone" command to clone all packages from a given request - fixed references into en.opensuse.org to honor the new Wiki structure + - add cross build targets mips and mipsel for QEMU Usermode. needs also build update. 0.128 - better default commands selection for editor/pager diff --git a/osc/core.py b/osc/core.py index d68322c8..5e622deb 100644 --- a/osc/core.py +++ b/osc/core.py @@ -2036,9 +2036,7 @@ def http_request(method, url, headers={}, data=None, file=None, timeout=100): filefd = None if conf.config['http_debug']: - print - print - print '--', method, url + print >>sys.stderr, '\n\n--', method, url if method == 'POST' and not file and not data: # adding data to an urllib2 request transforms it into a POST @@ -2090,7 +2088,7 @@ def http_request(method, url, headers={}, data=None, file=None, timeout=100): else: raise - if conf.config['debug']: print method, url + if conf.config['debug']: print >>sys.stderr, method, url old_timeout = socket.getdefaulttimeout() # XXX: dirty hack as timeout doesn't work with python-m2crypto diff --git a/osc/fetch.py b/osc/fetch.py index d39ff68f..f2d00480 100644 --- a/osc/fetch.py +++ b/osc/fetch.py @@ -92,10 +92,9 @@ class Fetcher: mg = MirrorGroup(self.gr, pac.urllist, failure_callback=(self.failureReport,(),{})) if self.http_debug: - print - print 'URLs to try for package \'%s\':' % pac - print '\n'.join(pac.urllist) - print + print >>sys.stderr, '\nURLs to try for package \'%s\':' % pac + print >>sys.stderr, '\n'.join(pac.urllist) + print >>sys.stderr (fd, tmpfile) = tempfile.mkstemp(prefix='osc_build') try: @@ -229,8 +228,8 @@ class Fetcher: sys.exit(0) except URLGrabError, e: if self.http_debug: - print "can't fetch key for %s: %s" %(i, e.strerror) - print "url: %s" % url + print >>sys.stderr, "can't fetch key for %s: %s" %(i, e.strerror) + print >>sys.stderr, "url: %s" % url if os.path.exists(dest): os.unlink(dest)