From 0d2eb441d867ab7c6543fdd69f2a632cd354b0a4 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 24 Apr 2009 17:18:43 +0200 Subject: * utils/migrate-0.8.py: Fix detection of functions, methods and attributes. There was a problem in find_deprecated_cpp() which added '.' to the module-level functions. Caused by a missing 'not'. --- utils/migrate-0.8.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/migrate-0.8.py b/utils/migrate-0.8.py index 32fc58a3..be74cc2f 100755 --- a/utils/migrate-0.8.py +++ b/utils/migrate-0.8.py @@ -88,7 +88,7 @@ def find_deprecated_cpp(): line = lines.pop(0) while lines and not '#endif' in line: name = line.split(",")[0].strip().strip('{"') - if 'module' in fname: + if not 'module' in fname: name = '.' + name all_old.add(name) line = lines.pop(0) -- cgit v1.2.3