translate most modules to using print() as imported from __future__
[myslice.git] / unfold / collectstatic.py
index b40afe4..bee1fe4 100644 (file)
@@ -1,3 +1,5 @@
+from __future__ import print_function
+
 import os
 from django.conf import settings
 from django.utils.datastructures import SortedDict
@@ -53,6 +55,7 @@ class ThirdPartyFinder(BaseFinder):
         'js' : ('.js',),
         'css': ('.css',),
         'img': ('.png', '.ico',),
+        'fonts' : ('.svg', '.eot', '.ttf', '.woff'),
     }
 
     def find(self, search_path, all=False):
@@ -78,7 +81,7 @@ class ThirdPartyFinder(BaseFinder):
                         matched_path = os.path.join(path, file) 
                         if not all:
                             return matched_path
-                        print 'ThirdPartyFinder, adding',matched_path
+                        print('ThirdPartyFinder, adding',matched_path)
                         matches.append(matched_path)
         return matches