Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: Patch against 1.7.4 > Reply to message

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

Reply to message

2020-03-13: This site is going to be decommissioned and shut down very soon. Please copy and archive any data you wish to keep ASAP

* = Required fields
* Subject
* Body
Send reply to
Author (directly in email)
Please type the letters in the image above.

Original message

Author Pauline Middelink <middelink@polyware.nl>
Full name Pauline Middelink <middelink@polyware.nl>
Date 2006-08-11 09:00:26 PDT
Message On Fri, 11 Aug 2006 around 09:31:08 -0400, Jack Neely wrote:
> Pauline,
> Umm...I think you forgot to include the users.py file. :-)

I'm afraid I forgot more. The exception handeling is syntaxicly
wrong :(

If you forgive me, here is a snipped code that does work.

(api/registration.py: line 200
    for (pkg) in package_list:
        if first:
                (name,version,releas​e,epoch,arch,cookie)​ = pkg
            except Exception, e:
                first = 0
                (name,version,release,epoch) = pkg
            (name,version,release,epoch) = pkg

    return 0

I also found the problem people had getting a list of compatible
channels. In function setupBaseChannel, you need to compare
    PROFILE.os_release = CHANNEL.osrelease, not
    PROFILE.release_name = CHANNEL.osrelease

To make matters 'worse', I added a small function, getArch to
pysqlite, so I could compare not PROFILE.architecture, but
getArch(PROFILE.architecture), thereby having the basechannel
compatible with its compatible architectures.

I will send a complete patch when i'm home.

    Met vriendelijke groet,
        Pauline Middelink
GPG Key fingerprint = 2D5B 87A7 DDA6 0378 5DEA BD3B 9A50 B416 E2D0 C3C2
For more details look at my website http://www.polyware.​nl/~middelink