| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2013-09-11 | Completely remove deprecated stuff | Julian Andres Klode | 1 | -254/+0 | |
| 2011-01-10 | merged lp:~geser/ubuntu/natty/python-apt/build-with-py3.2 (manually as bzr ↵ | Michael Vogt | 1 | -1/+1 | |
| thinks the branches have nothing in common) | |||||
| 2010-03-29 | do not require files to end in .py if they are passed on the command | Julian Andres Klode | 1 | -1/+4 | |
| line or if they contain python somewhere in the shebang line. | |||||
| 2010-03-29 | Don't abort if parsing failed. | Julian Andres Klode | 1 | -1/+6 | |
| 2010-03-29 | Add has_key to the list of deprecated functions. | Julian Andres Klode | 1 | -1/+1 | |
| 2010-03-29 | utils/migrate-0.8.py: Open files in universal newline support and pass ↵ | Julian Andres Klode | 1 | -1/+1 | |
| filename to ast.parse. | |||||
| 2010-02-27 | Ship the list of deprecated things in the apt_pkg and apt_inst modules | Julian Andres Klode | 1 | -55/+76 | |
| inside the script itself, so we don't have to parse the source code anymore. | |||||
| 2010-02-07 | * utils/migrate-0.8.py: | Julian Andres Klode | 1 | -3/+5 | |
| - Improve C++ parsing and add apt.progress.old to the modules, reduces false positives. | |||||
| 2009-06-04 | utils/migrate-0.8.py: Handle constants in the apt_pkg extension. | Julian Andres Klode | 1 | -0/+14 | |
| 2009-06-03 | utils/migrate-0.8.py: Fix function detection. | Julian Andres Klode | 1 | -1/+8 | |
| 2009-04-24 | * utils/migrate-0.8.py: Add a warning that there may be false positives. | Julian Andres Klode | 1 | -4/+5 | |
| 2009-04-24 | * utils/migrate-0.8.py: Correctly import modules, improve attribute detection | Julian Andres Klode | 1 | -5/+7 | |
| In order to import modules from a package, 'fromlist' may not be empty. Therefore, we pass ['*'] now. When attributes where checked, we just checked their names and did not check their classes. This meant that in e.g. Compat-API: A.alpha, B.alpha Clean-API: A.alpha The attribute 'alpha' would not be considered deprecated because it is provided by A.alpha. Now we treat an 'alpha' attribute as deprecated, if at least one class loses it. | |||||
| 2009-04-24 | * utils/migrate-0.8.py: Fix detection of functions, methods and attributes. | Julian Andres Klode | 1 | -1/+1 | |
| There was a problem in find_deprecated_cpp() which added '.' to the module-level functions. Caused by a missing 'not'. | |||||
| 2009-04-20 | * utils/migrate-0.8.py: Handle attributes specially, reduces false positives. | Julian Andres Klode | 1 | -4/+9 | |
| We now prefix attributes with ., so we do not match global variable names when checking. This should reduce the number of false positives in some applications. | |||||
| 2009-04-20 | * utils/migrate-0.8.py: Helper to check Python code for deprecated ↵ | Julian Andres Klode | 1 | -0/+194 | |
| functions, attributes, etc. Has to be run from the python-apt source tree, but can be used for all Python code using python-apt. The output may not be completely correct, but false positives are better than not checking the code. | |||||
