File: tool.py-add-missing-global

package info (click to toggle)
python-xattr 0.4-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 128 kB
  • ctags: 135
  • sloc: ansic: 662; python: 396; makefile: 9
file content (12 lines) | stat: -rw-r--r-- 432 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
Index: python-xattr/Lib/xattr/tool.py
===================================================================
--- python-xattr.orig/Lib/xattr/tool.py	2007-03-20 00:19:03.000000000 +0100
+++ python-xattr/Lib/xattr/tool.py	2007-03-20 00:19:16.000000000 +0100
@@ -32,6 +32,7 @@
         sys.exit(0)
 
 def main():
+    global long_format
     # Read options
     try:
         (optargs, args) = getopt.getopt(sys.argv[1:], "hl", ["help"])