Log in


Forgot your password?
 
You are here: Home Zpydoc API Documentation Products.RPMDistro.utils

 Products.RPMDistro.utils  

Up one level
Zpydoc Products RPMDistro utils
Functions
Function catalogObject (ob, event)
Function create_splash (context, fname)
do splash file creation - this is a strange lss16 format!!!
Function lstrip (astring, prefix=' ')
Workaround for the fact that ''.lstrip() takes no arguments in python 2.1. This can be deleted and replaced with ''.lstrip() once we require zope 2.7.
Function nevraPrintableFromTuple (tuple)
returns printable nevra string from a (n,e,v,r,a)
Function nevraTupleFromRPMName (str)
Function nevraTupleFromYumDep (dep)
epoch:name-ver-rel.arch
Function normalize_time (datetime)
Convert datetime to string representing time in local zone. The datetime arg can be either a string parsable by DateTime.DateTime(), or it can already be a DateTime instance. Output is sort of like that used by ls -l (i.e. only show year if it's not this year), e.g.: 'Aug 5 2003' or 'Sep 21 23:22'. If the input is a string that cannot be parsed, return ''.
Function opcode2str (code)
map rpm opcode to string - these should agree with createrepo ;)
Function prettySize (size)
make a nice string-formatted entry for size
Function returnNevraPrintable (rpmhdr)
return printable string for the pkgname/object name - epoch:ver-rel.arch
Function uncatalogObject (ob, event)
Document Actions
« February 2012 »
February
MoTuWeThFrSaSu
12345
6789101112
13141516171819
20212223242526
272829
Buy Now
Bastion CD
Subscribe Now
and get BastionLinux™ for as little as GBP 29.99 per month...