aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/sql/fake.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove mediagoblin.db.sql.fake.DESCENDINGSebastian Spaeth2013-01-071-28/+0
| | | | | | | | This is the last remnant that requires us to keep db.sql.fake.py. Use ModelName.desc() or sqlalchemy.sql.expression.desc(column) to achieve descending sorts. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* Remove ObjectId from the treeSebastian Spaeth2012-12-251-9/+0
| | | | | | | This was one of the last remaining Mongo holdouts and has been removed from the tree herewith. Good bye, ObjectId. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* Remove InvalidIdSebastian Spaeth2012-12-251-9/+1
| | | | | | It was a NoOp in our Non-mongo world. So it is safe to remove. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* Fix copyright statements; add LICENSE for EXIF.pyWill Kahn-Greene2012-02-081-1/+1
|
* Add copyright header and a bit of pep8ificationElrond2012-01-201-1/+18
| | | | | | Nearly all the sql files missed a copyright header. So added it! And while there fixed a few pep8 things.
* sql/fake.py: Some fake objects/methods to calm the codeElrond2012-01-181-0/+28
sql/fake.py contains some fake classes and functions to calm the rest of the code base. Or provide super minimal implementations. Currently: - ObjectId "class": It's a function mostly doing int(first_arg) to convert string primary keys into integer primary keys. - InvalidId exception - DESCENING "constant"