From 4e23c5a3065f9ef69f969a965e819f75cd0bda41 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 10 Aug 2013 23:29:22 +0200 Subject: additional replace rule --- pavement.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pavement.py') diff --git a/pavement.py b/pavement.py index d168f23bb..2787a613f 100644 --- a/pavement.py +++ b/pavement.py @@ -289,6 +289,7 @@ def replace_module_imports(): elif '/accounts/' in path: content = content.replace('self.accounts[user]["password"]', 'self.password') content = content.replace("self.accounts[user]['password']", 'self.password') + content = content.replace('.getAccountInfo()["premium"]', '.isPremium()') f = open(path, 'w') f.write(content) f.close() -- cgit v1.2.3