Skip to content

Commit 60a2052

Browse files
committed
BUGFIX: Fix for path.py breakage.
1 parent ff10875 commit 60a2052

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

hitch/default.story

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ Default:
5151

5252
example1.CatchThis
5353

54-
Some kind of docstring
54+
Some kind of docstring
5555

5656
Some kind of message

hitch/stop-on-file.story

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Stop on file:
6767

6868
example1.CatchThis
6969

70-
Some kind of docstring
70+
Some kind of docstring
7171

7272
Some kind of message
7373

prettystack/prettystack_template.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import colorama
88

99

10-
TEMPLATE_FOLDER = Path(__file__).abspath().dirname()
10+
TEMPLATE_FOLDER = Path(__file__).absolute().dirname()
1111

1212

1313
class PrettyStackTemplate(object):
@@ -36,7 +36,7 @@ def cut_calling_code(self, filename):
3636
if not Path(filename).exists():
3737
raise exceptions.StackTraceFilenameNotFound(filename)
3838
new_template = copy(self)
39-
new_template._cut_calling_code = Path(filename).abspath()
39+
new_template._cut_calling_code = Path(filename).absolute()
4040
return new_template
4141

4242
def only_the_exception(self):

prettystack/traceback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def to_dict(self):
7777

7878
@property
7979
def abspath(self):
80-
return Path(self.filename).abspath()
80+
return Path(self.filename).absolute()
8181

8282
#@property
8383
#def lineno(self):

0 commit comments

Comments
 (0)