init mi kaldı mirim...

This commit is contained in:
S.Çağlar Onur
2007-11-23 17:25:42 +00:00
parent d0e412b1a9
commit 509585c987
3 changed files with 0 additions and 7 deletions
-3
View File
@@ -78,7 +78,6 @@ def check_changes():
if __name__ == "__main__":
sys.excepthook = handle_exception
pisi.api.init(write=False)
if len(sys.argv) == 1:
print "Checking all packages"
@@ -88,5 +87,3 @@ if __name__ == "__main__":
if len(sys.argv) > 2:
for pkg in sys.argv[1:]:
check_package(pkg)
pisi.api.finalize()
-2
View File
@@ -36,8 +36,6 @@ def minsandmaxes():
if __name__ == "__main__":
pisi.api.init(write=False)
mi, ma = minsandmaxes()
for pkg in mi.keys():
old_pkg = "%s-%s.pisi" % (pkg, str(mi[pkg]))
-2
View File
@@ -32,9 +32,7 @@ def main():
repo = sys.argv[1]
try:
pisi.api.init(write=True)
ctx.repodb.set_default_repo(repo)
pisi.api.finalize()
except pisi.lockeddbshelve.Error, e:
print e