Sophie

Sophie

distrib > Fedora > 16 > x86_64 > media > updates-src > by-pkgid > 97fb1e6f7c96d3f2b4bb4cbbe13bd940 > files > 4

jbrout-0.3.338-0.4.svn338.fc16.src.rpm

Index: jbrout/jbrout/jbrout.py
===================================================================
--- jbrout.orig/jbrout/jbrout.py
+++ jbrout/jbrout/jbrout.py
@@ -3117,9 +3117,6 @@ if __name__ == "__main__":
         psyco.full()
     except:
         print "The psyco module does not seem to be installed. It is not necessary, however it can speed up performance."
-    # Print pyexiv2-0.2+ warning if necessary
-    from jbrout.pyexiv import Check
-    Check()
 
     try:
         parser = optparse.OptionParser(usage=USAGE, version=("JBrout "+__version__))
Index: jbrout/jbrout/jbrout/pyexiv.py
===================================================================
--- jbrout.orig/jbrout/jbrout/pyexiv.py
+++ jbrout/jbrout/jbrout/pyexiv.py
@@ -269,11 +269,6 @@ def Image(f):
         # pyexiv2 < 0.2
         return Exiv1Metadata(f)
 
-def Check():
-    if hasattr(pyexiv2,"ImageMetadata"):
-        # pyexiv2 >= 0.2
-        print "***WARNING*** : YOU ARE USING pyexiv2>0.2 (jbrout doesn't support very well this new version ! not fully tested ! some things are not implemented !!!)"
-
 if __name__ == "__main__":
     t=Image("/home/manatlan/Documents/python/tests_libs_python/TestJPG/p20030830_130202 (copie).jpg")
     #~ t=Image("/home/manatlan/Documents/python/tests_libs_python/TestJPG/p20030830_130202.jpg")