Skip to content

Commit

Permalink
Fix compatibility with Python 3.3.
Browse files Browse the repository at this point in the history
Do not pass the string to str.__init__().
  • Loading branch information
mgorny committed Dec 10, 2012
1 parent 8fe312c commit 5c4c49a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecleankernel/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class PathRef(str):
def __init__(self, path):
str.__init__(self, path)
str.__init__(self)
self._refs = 0

def ref(self):
Expand Down

0 comments on commit 5c4c49a

Please sign in to comment.