2013-02-26 12:08:19 +01:00
|
|
|
Index: FilesCheck.py
|
|
|
|
===================================================================
|
|
|
|
--- FilesCheck.py.orig
|
2012-11-18 11:10:37 +01:00
|
|
|
+++ FilesCheck.py
|
2013-02-26 12:08:19 +01:00
|
|
|
@@ -753,7 +753,7 @@ def peek(filename, pkg, length=1024):
|
2012-11-18 11:10:37 +01:00
|
|
|
istext = float(len(t))/len(chunk) <= 0.30
|
|
|
|
return (chunk, istext)
|
|
|
|
|
|
|
|
-# See Python/import.c (in the trunk and py3k branches) for a full list of
|
|
|
|
+# See Python/import.c (in the default and 2.x branches) for a full list of
|
|
|
|
# the values here.
|
|
|
|
_python_magic_values = {
|
|
|
|
'2.2': 60717,
|
2013-02-26 12:08:19 +01:00
|
|
|
@@ -765,7 +765,7 @@ _python_magic_values = {
|
2012-11-18 11:10:37 +01:00
|
|
|
'3.0': 3130,
|
|
|
|
'3.1': 3150,
|
|
|
|
'3.2': 3180,
|
|
|
|
- '3.3': 3190,
|
|
|
|
+ '3.3': 3230,
|
|
|
|
}
|
|
|
|
|
|
|
|
def get_expected_pyc_magic(path):
|