Description: fix the improper use of urllib.parse.uses_fragment
Since  Python >= 2.7.3, 3.2.3 the module urlparse/urllib.parse (python3) do not
have a uses_fragment attribute. This patch tests if it exists before using it.
Origin: upstream
Bug: https://github.com/pypa/pip/issues/552
Bug-Debian: http://bugs.debian.org/678080

--- a/parser/python/PyPlucker/Url.py
+++ b/parser/python/PyPlucker/Url.py
@@ -19,7 +19,9 @@
 #urlparse.uses_netloc.append ('plucker')
 #urlparse.uses_params.append ('plucker')
 #urlparse.uses_query.append ('plucker')
-urlparse.uses_fragment.append ('plucker')
+# Python >= 2.7.4, 3.3 doesn't have uses_fragment
+if getattr(urlparse, 'uses_fragment', None):
+    urlparse.uses_fragment.append ('plucker')
 
 
 
