Skip to content

Commit ce6c853

Browse files
author
Matt Sinclair
committed
corrected a syntax error: "raise AttributeError(key)" instead of "raise
AttributeError, key" cherry-picked from: scholrly#5
1 parent ac22170 commit ce6c853

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dblp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def __getattr__(self, key):
1818
if self.data is None:
1919
self.load_data()
2020
return self.data[key]
21-
raise AttributeError, key
21+
raise AttributeError(key)
2222

2323
def load_data(self):
2424
pass

0 commit comments

Comments
 (0)