From 1105b99964bad6de3505b08351420957716ffe15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Wed, 7 Feb 2007 23:29:58 +0000 Subject: [PATCH] unification --- pisi/delta.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pisi/delta.py b/pisi/delta.py index aca7e87d..56f88c3d 100644 --- a/pisi/delta.py +++ b/pisi/delta.py @@ -13,7 +13,7 @@ import os 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 @@ def create_delta_package(old_package, new_package): 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)