I went through the code and just removed some blank spaces. I also looked it
thru and it looked great.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user