aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2011-06-02 18:28:26 +0200
committerElrond <elrond+mediagoblin.org@samba-tng.org>2011-06-02 18:28:26 +0200
commit9bfe1d8e12c77d7a47049bffaa694441abd71489 (patch)
treea1c03a03dd1da547019b09043bcfa84624280ab8
parent0732236e9c816dd2b04f5a9e97632a861de225ad (diff)
downloadmediagoblin-9bfe1d8e12c77d7a47049bffaa694441abd71489.tar.lz
mediagoblin-9bfe1d8e12c77d7a47049bffaa694441abd71489.tar.xz
mediagoblin-9bfe1d8e12c77d7a47049bffaa694441abd71489.zip
Add GNU headers to new *.py
-rw-r--r--mediagoblin/edit/lib.py16
-rw-r--r--mediagoblin/edit/views.py15
2 files changed, 31 insertions, 0 deletions
diff --git a/mediagoblin/edit/lib.py b/mediagoblin/edit/lib.py
index 293a0547..2a810349 100644
--- a/mediagoblin/edit/lib.py
+++ b/mediagoblin/edit/lib.py
@@ -1,3 +1,19 @@
+# GNU MediaGoblin -- federated, autonomous media hosting
+# Copyright (C) 2011 Free Software Foundation, Inc
+#
+# 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/>.
+
def may_edit_media(request, media):
"""Check, if the request's user may edit the media details"""
diff --git a/mediagoblin/edit/views.py b/mediagoblin/edit/views.py
index b8e28e29..7df47b18 100644
--- a/mediagoblin/edit/views.py
+++ b/mediagoblin/edit/views.py
@@ -1,3 +1,18 @@
+# GNU MediaGoblin -- federated, autonomous media hosting
+# Copyright (C) 2011 Free Software Foundation, Inc
+#
+# 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 webob import Response, exc