[Uludag-commits] r12296 - trunk/pisi/pisi
svn-uludag at uludag.org.tr
svn-uludag at uludag.org.tr
8 Şub 2007 Per 01:29:58 EET
Author: caglar
Date: Thu Feb 8 01:29:58 2007
New Revision: 12296
Modified:
trunk/pisi/pisi/delta.py
Log:
unification
Modified: trunk/pisi/pisi/delta.py
=================================================================
--- trunk/pisi/pisi/delta.py (original)
+++ trunk/pisi/pisi/delta.py Thu Feb 8 01:29:58 2007
@@ -13,7 +13,7 @@
from sets import Set as set
import gettext
-__trans = gettext.translation('pisi', fallback=True)
+__trans = gettext.translation("pisi", fallback=True)
_ = __trans.ugettext
import pisi.context as ctx
@@ -45,13 +45,13 @@
newpkg_path = util.join_path(ctx.config.tmp_dir(), newpkg_name)
newpkg.extract_to(newpkg_path, True)
- tar = archive.ArchiveTar(util.join_path(newpkg_path, ctx.const.install_tar_lzma), 'tarlzma', False, False)
+ tar = archive.ArchiveTar(util.join_path(newpkg_path, ctx.const.install_tar_lzma), "tarlzma", False, False)
tar.unpack_dir(newpkg_path)
# Create delta package
deltaname = "%s-%s-%s%s" % (oldmd.package.name, oldmd.package.release, newmd.package.release, ctx.const.delta_package_suffix)
- outdir = ctx.get_option('output_dir')
+ outdir = ctx.get_option("output_dir")
if outdir:
deltaname = util.join_path(outdir, deltaname)
Uludag-commits mesaj listesiyle ilgili
daha fazla bilgi