Procházet zdrojové kódy

Fixed typo utf8dict(self, tup) -> utf8dict(tup)

Ask Solem před 15 roky
rodič
revize
a65f04da1a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      celery/task/http.py

+ 1 - 1
celery/task/http.py

@@ -32,7 +32,7 @@ def maybe_utf8(value):
     return value
 
 
-def utf8dict(self, tup):
+def utf8dict(tup):
     """With a dict's items() tuple return a new dict with any utf-8
     keys/values encoded."""
     return dict((key.encode("utf-8"), maybe_utf8(value))