[Uludag-commits] r15259 - branches/pisi-db/pisi/db

uludag-commits at pardus.org.tr uludag-commits at pardus.org.tr
2 Eyl 2007 Paz 13:27:07 EEST


Author: faik
Date: Sun Sep  2 13:27:07 2007
New Revision: 15259

Modified:
   branches/pisi-db/pisi/db/installdb.py
   branches/pisi-db/pisi/db/packagedb.py
Log:
tidy code with spaces


Modified: branches/pisi-db/pisi/db/installdb.py
=================================================================
--- branches/pisi-db/pisi/db/installdb.py	(original)
+++ branches/pisi-db/pisi/db/installdb.py	Sun Sep  2 13:27:07 2007
@@ -81,12 +81,14 @@
 
     def get_version(self, package):
         metadata_xml = os.path.join(self.__package_path(package), ctx.const.metadata_xml)
+
         meta_doc = piksemel.parse(metadata_xml)
         history = meta_doc.getTag("Package").getTag("History")
         build = meta_doc.getTag("Package").getTagData("Build")
         version = history.getTag("Update").getTagData("Version")
         release = history.getTag("Update").getAttribute("release")
         del meta_doc
+
         return version, release, build and int(build)
 
     def get_files(self, package):

Modified: branches/pisi-db/pisi/db/packagedb.py
=================================================================
--- branches/pisi-db/pisi/db/packagedb.py	(original)
+++ branches/pisi-db/pisi/db/packagedb.py	Sun Sep  2 13:27:07 2007
@@ -87,6 +87,7 @@
         version = history.getTag("Update").getTagData("Version")
         release = history.getTag("Update").getAttribute("release")
         del pkg_doc
+
         return version, release, build and int(build)
 
     def get_package_repo(self, name, repo):


Uludag-commits mesaj listesiyle ilgili daha fazla bilgi