Ubuntu Pastebin

Paste from ubuntu at Tue, 13 Jun 2017 23:09:05 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
--- wrap-and-sort.bak	2017-06-13 23:08:10.016714174 +0000
+++ wrap-and-sort	2017-06-13 23:08:53.681137880 +0000
@@ -197,7 +197,9 @@ def get_files(debian_directory):
     """Returns a list of files that should be wrapped and sorted."""
     files = []
     for supported_files in SUPPORTED_FILES:
+        print(supported_files)
         file_pattern = os.path.join(debian_directory, supported_files)
+        print(glob.glob(file_pattern))
         files.extend(file_name for file_name in glob.glob(file_pattern)
                      if not os.access(file_name, os.X_OK))
     return files
Download as text