aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/sql/convert.py
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2012-01-20 00:17:05 +0100
committerElrond <elrond+mediagoblin.org@samba-tng.org>2012-01-20 00:17:05 +0100
commitfbad3a9fb9b0bd6b35d5906e96ead3485fa5f57a (patch)
treeb377eed8a35be27ac138504aa07f6d7dbbf02f4b /mediagoblin/db/sql/convert.py
parent92edc74e9b1ac16009db60049bb381bfd901013a (diff)
downloadmediagoblin-fbad3a9fb9b0bd6b35d5906e96ead3485fa5f57a.tar.lz
mediagoblin-fbad3a9fb9b0bd6b35d5906e96ead3485fa5f57a.tar.xz
mediagoblin-fbad3a9fb9b0bd6b35d5906e96ead3485fa5f57a.zip
Add copyright header and a bit of pep8ification
Nearly all the sql files missed a copyright header. So added it! And while there fixed a few pep8 things.
Diffstat (limited to 'mediagoblin/db/sql/convert.py')
-rw-r--r--mediagoblin/db/sql/convert.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/mediagoblin/db/sql/convert.py b/mediagoblin/db/sql/convert.py
index 88614fd4..ac7a66c2 100644
--- a/mediagoblin/db/sql/convert.py
+++ b/mediagoblin/db/sql/convert.py
@@ -1,3 +1,20 @@
+# GNU MediaGoblin -- federated, autonomous media hosting
+# Copyright (C) 2011,2012 MediaGoblin contributors. See AUTHORS.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
from mediagoblin.init import setup_global_and_app_config, setup_database
from mediagoblin.db.mongo.util import ObjectId