Hello community, here is the log from the commit of package osc checked in at Wed Apr 23 02:04:53 CEST 2008. -------- --- osc/osc.changes 2008-04-02 16:38:55.000000000 +0200 +++ /mounts/work_src_done/STABLE/osc/osc.changes 2008-04-23 02:02:31.745039000 +0200 @@ -1,0 +2,5 @@ +Sat Apr 12 07:36:40 CEST 2008 - adrian@suse.de + +- add patch from abauer to fix cookie handling bnc#378421 + +------------------------------------------------------------------- New: ---- bug-378421_osc_cookiejar_fix.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ osc.spec ++++++ --- /var/tmp/diff_new_pack.F31265/_old 2008-04-23 02:04:44.000000000 +0200 +++ /var/tmp/diff_new_pack.F31265/_new 2008-04-23 02:04:44.000000000 +0200 @@ -14,13 +14,14 @@ Name: osc BuildRequires: python-devel Version: 0.99 -Release: 36 +Release: 40 Group: Development/Tools/Other License: GPL v2 or later BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/clientlib/p... # v=0.99; svn export https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/clientlib/p... osc-$v; tar czf osc-$v.tar.gz osc-$v Source: osc-%{version}.tar.gz +Patch: bug-378421_osc_cookiejar_fix.diff Summary: openSUSE (build service) commander Requires: python-urlgrabber # @@ -59,6 +60,7 @@ %prep %setup -q -n osc-%{version} +%patch %build CFLAGS="%{optflags}" \ @@ -80,6 +82,8 @@ %doc README TODO NEWS %changelog +* Sat Apr 12 2008 adrian@suse.de +- add patch from abauer to fix cookie handling bnc#378421 * Wed Apr 02 2008 poeml@suse.de - update to r3614: - osc commit: implement committing with keeping links (to commit ++++++ bug-378421_osc_cookiejar_fix.diff ++++++ Index: osc/core.py =================================================================== --- osc/core.py (Revision 3704) +++ osc/core.py (Arbeitskopie) @@ -1385,11 +1385,12 @@ raise - fd = urllib2.urlopen(req, data=data) + try: + fd = urllib2.urlopen(req, data=data) + finally: + if hasattr(conf.cookiejar, 'save'): + conf.cookiejar.save(ignore_discard=True) - if hasattr(conf.cookiejar, 'save'): - conf.cookiejar.save(ignore_discard=True) - if filefd: filefd.close() # this code is for debugging empty responses from api.opensuse.org ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org