search for: inst_h

Displaying 1 result from an estimated 1 matches for "inst_h".

Did you mean: ins_h
2009 Jun 26
0
RPM python subroutine for (epoch, version, release) comparation?
...?, and so the RPM ?comparing process is simplified as string comparing ? which doesn?t look correct, am I wrong? See the code from the page: ? -------------------------------------------------------------------------------------- file_h = ts.hdrFromFdno(fd) file_ds = file_h.dsOfHeader() inst_ds = inst_h.dsOfHeader() if file_ds.EVR() >= inst_ds.EVR(): print "Package file is same or newer, OK to upgrade." else: print "Package file is older than installed version." -------------------------------------------------------------------------------------- ? I?ve see another func...