Skip to content

Commit 22efad7

Browse files
committed
Remove obsolute self variable and its associated comment
1 parent 0401c49 commit 22efad7

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

djhtml/options.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@
6666
type=lambda x: tuple(x.split(",")),
6767
)
6868

69-
# Parse arguments and assign attributes to self
70-
self = sys.modules[__name__]
7169
options = parser.parse_args()
7270

7371
if options.show_version:

tests/suite/django.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,5 +198,5 @@ <h1>Welcome, {{ request.user }}</h1>
198198

199199
<!-- Custom tag with custom end tag -->
200200
{% weird_tag %}
201-
<div></div>
201+
<div></div>
202202
{% endweird %}

0 commit comments

Comments
 (0)