From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 151C113821F for ; Sat, 21 Jul 2012 20:02:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B33EBE0771; Sat, 21 Jul 2012 15:44:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7EC25E0771 for ; Sat, 21 Jul 2012 15:44:54 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 861881B411F for ; Sat, 21 Jul 2012 15:44:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 4E1C8E5434 for ; Sat, 21 Jul 2012 15:44:52 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1342885484.068916ffe880900f18e0c4147c2315ed05b1496e.blueness@gentoo> Subject: [gentoo-commits] proj/elfix:master commit in: scripts/ X-VCS-Repository: proj/elfix X-VCS-Files: scripts/pypaxctl X-VCS-Directories: scripts/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 068916ffe880900f18e0c4147c2315ed05b1496e X-VCS-Branch: master Date: Sat, 21 Jul 2012 15:44:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d65ef2f7-f4d2-4437-9c96-9a791a9c9095 X-Archives-Hash: d48872487740a05acc78c9a5a4601905 commit: 068916ffe880900f18e0c4147c2315ed05b1496e Author: Anthony G. Basile gentoo org> AuthorDate: Sat Jul 21 15:44:44 2012 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sat Jul 21 15:44:44 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/elfix.git;a=commit;h=068916ff scripts/pypaxctl: remove debug code --- scripts/pypaxctl | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/pypaxctl b/scripts/pypaxctl index 266a571..46fee67 100755 --- a/scripts/pypaxctl +++ b/scripts/pypaxctl @@ -22,11 +22,9 @@ def main(): for o, a in opts: if o == '-s': - #pax.setflags(a, flags) flags = a do_set = 1 elif o == '-g': - #( str_flags, bin_flags ) = pax.getflags(a) do_get = 1 if( (do_set + do_get) != 1 ): @@ -39,10 +37,11 @@ def main(): if( do_set == 1 ): for binary in args: - print('set %s on %s' % (flags,binary)) + pax.setflags(binary, flags) else: for binary in args: - print('get on %s' % binary) + ( str_flags, bin_flags ) = pax.getflags(binary) + print('%s' % str_flags) if __name__ == '__main__': main()