I went through the code and just removed some blank spaces. I also looked it
authortilly-Q <nattilypigeonfowl@gmail.com>
Tue, 19 Nov 2013 20:14:14 +0000 (15:14 -0500)
committertilly-Q <nattilypigeonfowl@gmail.com>
Tue, 19 Nov 2013 20:14:14 +0000 (15:14 -0500)
thru and it looked great.

mediagoblin/db/migrations.py
mediagoblin/db/models.py
mediagoblin/user_pages/lib.py

index 339bc9632b5054f743a141adfba6fac5330eabbd..426080a2def9b0b573ef182e01336fa0e8489efd 100644 (file)
@@ -713,11 +713,10 @@ def drop_MediaEntry_collected(db):
     Drop unused MediaEntry.collected column
     """
     metadata = MetaData(bind=db.bind)
-    media_collected= inspect_table(metadata, 'core__media_entries')
 
+    media_collected= inspect_table(metadata, 'core__media_entries')
     media_collected = media_collected.columns['collected']
 
-        
     media_collected.drop()
-        
+
     db.commit()
index 079578a229cf0b2a0c1802c6fd09cc2ebe9560bb..b750375d7b68b12b560c4fcb80dd93686e1d6585 100644 (file)
@@ -219,11 +219,11 @@ class MediaEntry(Base, MediaEntryMixin):
     state = Column(Unicode, default=u'unprocessed', nullable=False)
         # or use sqlalchemy.types.Enum?
     license = Column(Unicode)
-
     file_size = Column(Integer, default=0)
 
     fail_error = Column(Unicode)
     fail_metadata = Column(JSONEncoded)
+
     transcoding_progress = Column(SmallInteger)
 
     queued_media_file = Column(PathTupleWithSlashes)
index 16da89d6e25c87b687ad988b3f8b33827c96eaae..e5c8defcabe33b2729d12b20c2a0f85faa478d02 100644 (file)
@@ -1,4 +1,4 @@
-# GNU MediaGobli:n -- federated, autonomous media hosting
+# 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
@@ -71,8 +71,6 @@ def add_media_to_collection(collection, media, note=None, commit=True):
 
     collection.items = collection.items + 1
     Session.add(collection)
-
-   
     Session.add(media)
 
     if commit: