horsemeat 2.22.6__tar.gz → 2.22.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. {horsemeat-2.22.6 → horsemeat-2.22.8}/PKG-INFO +1 -1
  2. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/configwrapper.py +4 -0
  3. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/version.py +1 -1
  4. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/webapp/request.py +3 -3
  5. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/webapp/response.py +1 -1
  6. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat.egg-info/PKG-INFO +1 -1
  7. {horsemeat-2.22.6 → horsemeat-2.22.8}/MANIFEST.in +0 -0
  8. {horsemeat-2.22.6 → horsemeat-2.22.8}/README +0 -0
  9. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/__init__.py +0 -0
  10. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/model/__init__.py +0 -0
  11. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/model/newsmessage.py +0 -0
  12. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/model/session.py +0 -0
  13. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/model/user.py +0 -0
  14. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/pg.py +0 -0
  15. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/scripts/make-frippery-project +0 -0
  16. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/tests/__init__.py +0 -0
  17. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/tests/test_configwrapper.py +0 -0
  18. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/webapp/__init__.py +0 -0
  19. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/webapp/bogusrequest.py +0 -0
  20. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/webapp/dispatcher.py +0 -0
  21. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/webapp/framework_templates/__init__.py +0 -0
  22. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/webapp/frameworkhandlers.py +0 -0
  23. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/webapp/handler.py +0 -0
  24. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat/webapp/scrubber.py +0 -0
  25. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat.egg-info/SOURCES.txt +0 -0
  26. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat.egg-info/dependency_links.txt +0 -0
  27. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat.egg-info/requires.txt +0 -0
  28. {horsemeat-2.22.6 → horsemeat-2.22.8}/horsemeat.egg-info/top_level.txt +0 -0
  29. {horsemeat-2.22.6 → horsemeat-2.22.8}/requirements.txt +0 -0
  30. {horsemeat-2.22.6 → horsemeat-2.22.8}/setup.cfg +0 -0
  31. {horsemeat-2.22.6 → horsemeat-2.22.8}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: horsemeat
3
- Version: 2.22.6
3
+ Version: 2.22.8
4
4
  Summary: Web framework for the damned. The mad.
5
5
  Home-page: https://github.com/216software/horsemeat
6
6
  Author: 216 Software, LLC
@@ -257,6 +257,10 @@ class ConfigWrapper(object):
257
257
 
258
258
  def set_as_default(self):
259
259
 
260
+ """
261
+ This could also be thought of as setting a singleton.
262
+ """
263
+
260
264
  ConfigWrapper.default_instance = self
261
265
  return self
262
266
 
@@ -22,4 +22,4 @@ hasn't been installed yet.
22
22
 
23
23
  """
24
24
 
25
- __version__ = '2.22.6'
25
+ __version__ = '2.22.8'
@@ -86,7 +86,7 @@ class Request(collections.MutableMapping):
86
86
 
87
87
  if self.QUERY_STRING:
88
88
  parsed_qs = urllib.parse.parse_qs(
89
- urllib.unquote(self.QUERY_STRING),
89
+ urllib.parse.unquote(self.QUERY_STRING),
90
90
  keep_blank_values=1)
91
91
 
92
92
  else:
@@ -229,7 +229,7 @@ class Request(collections.MutableMapping):
229
229
 
230
230
  try:
231
231
  self['horsemeat.parsed_body'] = urllib.parse.parse_qs(
232
- urllib.unquote(self.body).decode(self.charset),
232
+ urllib.parse.unquote(self.body).decode(self.charset),
233
233
  keep_blank_values=1)
234
234
 
235
235
  except UnicodeDecodeError as e:
@@ -306,7 +306,7 @@ class Request(collections.MutableMapping):
306
306
 
307
307
  if self.parsed_cookie and 'news-message' in self.parsed_cookie:
308
308
  quoted_message = self.parsed_cookie['news-message'].value
309
- message = urllib.unquote_plus(quoted_message)
309
+ message = urllib.parse.unquote_plus(quoted_message)
310
310
 
311
311
  else:
312
312
  message = None
@@ -262,7 +262,7 @@ class Response(object):
262
262
  else:
263
263
  s = body
264
264
 
265
- if isinstance(s, unicode):
265
+ if isinstance(s, str):
266
266
  encoded_s = s.encode('utf8')
267
267
 
268
268
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: horsemeat
3
- Version: 2.22.6
3
+ Version: 2.22.8
4
4
  Summary: Web framework for the damned. The mad.
5
5
  Home-page: https://github.com/216software/horsemeat
6
6
  Author: 216 Software, LLC
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes