On Tue, Oct 09, 2012 at 09:33:11AM +0200, Pierre Casenove wrote:
> Hello list,
> I've opened and analyzed this BZ during summer.
> As this BZ is a blocker to me (in order to deploy Spacewlak on solaris
> clients), I would like to help resolve it.
> >From my point of view, this BZ can be adressed in 2 ways (see comment #3):
> - Remove the couple of lines in the client code creating the ZipFile object
> - update python to version 2.6 in the Solaris packages
> 
> Which solution do you prefer? If you prefer to rebase the Solaris
> client on latest code version et python 2.6, I can't do it, mais I can
> test the resulting packages.
> In case you prefer the first one, I can come up with a patch.

I prefer getting rid of that ZipFile object if possible, and either work
with that "tdir" directory, or amend that unzip operation to give use
the first file (dir?) name in that zip (which is what the

        zf.namelist()[0].split('/')[0]

line seems to achieve).

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to