File: django-1.10-Loader-class-__init__-takes-2-args.patch

package info (click to toggle)
python-jingo 0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 400 kB
  • ctags: 402
  • sloc: python: 720; makefile: 105
file content (16 lines) | stat: -rw-r--r-- 463 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Loader class __init__ takes 2 args
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2016-07-25

--- python-jingo-0.9.orig/jingo/__init__.py
+++ python-jingo-0.9/jingo/__init__.py
@@ -239,7 +239,7 @@ register = Register()
 class Loader(BaseLoader):
     is_usable = True
 
-    def __init__(self):
+    def __init__(self, args):
         if has_engine:
             super(Loader, self).__init__(Engine.get_default())
         else: