diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-07-21 11:44:44 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-07-21 11:44:44 -0400 |
commit | 068916ffe880900f18e0c4147c2315ed05b1496e (patch) | |
tree | eaaaf4fd3c817c6a48edb376defc9364708f0340 /scripts | |
parent | scripts/pypaxctl: frontend to pypax module (diff) | |
download | elfix-068916ffe880900f18e0c4147c2315ed05b1496e.tar.gz elfix-068916ffe880900f18e0c4147c2315ed05b1496e.tar.bz2 elfix-068916ffe880900f18e0c4147c2315ed05b1496e.zip |
scripts/pypaxctl: remove debug code
Diffstat (limited to 'scripts')
-rwxr-xr-x | 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() |