Re: help with generating new key !

"Frédéric Gobry" <[email protected]> Wed, 8 Nov 2006 06:20:51 +0000
Newsgroups gmane.comp.gnome.apps.pybliographer
Message-ID <[email protected]>
> I was trying to create a new key for new entries in my library in
> .pybrc.py but did not succeed. Currently, I have the key which is

What did you do and what did not work?

The current key generator is in Pyblio/Util.py, called generate_key().
You need to add a function similar to that in your .pybrc.py, and
register it:

Autoload.register ('key', 'MyNiftyKey', generate_my_nifty_key)

You should then be able to select this key from the application's
configuration window.

-- 
Frédéric

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642