1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
|
Description: Removes problematic unicode chars in comments
Under some circonstances, using Python 3.2, the call of:
python setup.py install
would produce this:
Traceback (most recent call last):
File "setup.py", line 86, in <module>
version=read_version(),
File "setup.py", line 46, in read_version
finder.visit(ast.parse(local_file('httpretty', '__init__.py')))
File "setup.py", line 78, in <lambda>
open(os.path.join(os.path.dirname(__file__), *f)).read()
File "/usr/lib/python3.2/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 133: ordinal not in range(128)
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2014-04-13
--- python-httpretty-0.8.0.orig/readme.rst
+++ python-httpretty-0.8.0/readme.rst
@@ -483,7 +483,7 @@ License
::
<HTTPretty - HTTP client mock for Python>
- Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
+ Copyright (C) <2011-2013> Gabriel Falcao <gabriel@nacaolivre.org>
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
--- python-httpretty-0.8.0.orig/tests/functional/test_bypass.py
+++ python-httpretty-0.8.0/tests/functional/test_bypass.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
# <httpretty - HTTP client mock for Python>
-# Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
+# Copyright (C) <2011-2013> Gabriel Falcao <gabriel@nacaolivre.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
--- python-httpretty-0.8.0.orig/tests/functional/base.py
+++ python-httpretty-0.8.0/tests/functional/base.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
# <HTTPretty - HTTP client mock for Python>
-# Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
+# Copyright (C) <2011-2013> Gabriel Falcao <gabriel@nacaolivre.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
--- python-httpretty-0.8.0.orig/tests/functional/testserver.py
+++ python-httpretty-0.8.0/tests/functional/testserver.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# <HTTPretty - HTTP client mock for Python>
-# Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
+# Copyright (C) <2011-2013> Gabriel Falcao <gabriel@nacaolivre.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
--- python-httpretty-0.8.0.orig/tests/functional/__init__.py
+++ python-httpretty-0.8.0/tests/functional/__init__.py
@@ -1,7 +1,7 @@
# #!/usr/bin/env python
# -*- coding: utf-8 -*-
# <HTTPretty - HTTP client mock for Python>
-# Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
+# Copyright (C) <2011-2013> Gabriel Falcao <gabriel@nacaolivre.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
--- python-httpretty-0.8.0.orig/tests/functional/test_requests.py
+++ python-httpretty-0.8.0/tests/functional/test_requests.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
# <HTTPretty - HTTP client mock for Python>
-# Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
+# Copyright (C) <2011-2013> Gabriel Falcao <gabriel@nacaolivre.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
--- python-httpretty-0.8.0.orig/tests/functional/test_httplib2.py
+++ python-httpretty-0.8.0/tests/functional/test_httplib2.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
# <HTTPretty - HTTP client mock for Python>
-# Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
+# Copyright (C) <2011-2013> Gabriel Falcao <gabriel@nacaolivre.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
--- python-httpretty-0.8.0.orig/tests/functional/test_urllib2.py
+++ python-httpretty-0.8.0/tests/functional/test_urllib2.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
# <HTTPretty - HTTP client mock for Python>
-# Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
+# Copyright (C) <2011-2013> Gabriel Falcao <gabriel@nacaolivre.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
--- python-httpretty-0.8.0.orig/tests/functional/test_debug.py
+++ python-httpretty-0.8.0/tests/functional/test_debug.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
# <HTTPretty - HTTP client mock for Python>
-# Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
+# Copyright (C) <2011-2013> Gabriel Falcao <gabriel@nacaolivre.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
--- python-httpretty-0.8.0.orig/tests/unit/__init__.py
+++ python-httpretty-0.8.0/tests/unit/__init__.py
@@ -1,7 +1,7 @@
# #!/usr/bin/env python
# -*- coding: utf-8 -*-
# <HTTPretty - HTTP client mock for Python>
-# Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
+# Copyright (C) <2011-2013> Gabriel Falcao <gabriel@nacaolivre.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
--- python-httpretty-0.8.0.orig/tests/unit/test_httpretty.py
+++ python-httpretty-0.8.0/tests/unit/test_httpretty.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
# <HTTPretty - HTTP client mock for Python>
-# Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
+# Copyright (C) <2011-2013> Gabriel Falcao <gabriel@nacaolivre.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
--- python-httpretty-0.8.0.orig/httpretty/__init__.py
+++ python-httpretty-0.8.0/httpretty/__init__.py
@@ -1,7 +1,7 @@
# #!/usr/bin/env python
# -*- coding: utf-8 -*-
# <HTTPretty - HTTP client mock for Python>
-# Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
+# Copyright (C) <2011-2013> Gabriel Falcao <gabriel@nacaolivre.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
--- python-httpretty-0.8.0.orig/httpretty/compat.py
+++ python-httpretty-0.8.0/httpretty/compat.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# <HTTPretty - HTTP client mock for Python>
-# Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
+# Copyright (C) <2011-2013> Gabriel Falcao <gabriel@nacaolivre.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
--- python-httpretty-0.8.0.orig/httpretty/http.py
+++ python-httpretty-0.8.0/httpretty/http.py
@@ -1,7 +1,7 @@
# #!/usr/bin/env python
# -*- coding: utf-8 -*-
# <HTTPretty - HTTP client mock for Python>
-# Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
+# Copyright (C) <2011-2013> Gabriel Falcao <gabriel@nacaolivre.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
--- python-httpretty-0.8.0.orig/httpretty/core.py
+++ python-httpretty-0.8.0/httpretty/core.py
@@ -1,7 +1,7 @@
# #!/usr/bin/env python
# -*- coding: utf-8 -*-
# <HTTPretty - HTTP client mock for Python>
-# Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
+# Copyright (C) <2011-2013> Gabriel Falcao <gabriel@nacaolivre.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
--- python-httpretty-0.8.0.orig/httpretty/errors.py
+++ python-httpretty-0.8.0/httpretty/errors.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# <HTTPretty - HTTP client mock for Python>
-# Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
+# Copyright (C) <2011-2013> Gabriel Falcao <gabriel@nacaolivre.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
--- python-httpretty-0.8.0.orig/httpretty/utils.py
+++ python-httpretty-0.8.0/httpretty/utils.py
@@ -1,7 +1,7 @@
# #!/usr/bin/env python
# -*- coding: utf-8 -*-
# <HTTPretty - HTTP client mock for Python>
-# Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
+# Copyright (C) <2011-2013> Gabriel Falcao <gabriel@nacaolivre.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
|