fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aa021ad
)
Minor cleanup.
author
Łukasz Rekucki
<lrekucki@gmail.com>
Sun, 28 Mar 2010 12:27:52 +0000
(14:27 +0200)
committer
Łukasz Rekucki
<lrekucki@gmail.com>
Sun, 28 Mar 2010 12:27:52 +0000
(14:27 +0200)
15 files changed:
NOTICE
patch
|
blob
|
history
apps/toolbar/management/commands/__init__.py
patch
|
blob
|
history
apps/toolbar/management/commands/fixbuttons.py
patch
|
blob
|
history
apps/toolbar/models.py
patch
|
blob
|
history
apps/toolbar/templatetags/toolbar_tags.py
patch
|
blob
|
history
apps/wiki/forms.py
patch
|
blob
|
history
apps/wiki/models.py
patch
|
blob
|
history
apps/wiki/nice_diff.py
patch
|
blob
|
history
lib/test_vstorage.py
patch
|
blob
|
history
lib/vstorage.py
patch
|
blob
|
history
lib/wlapi.py
patch
|
blob
|
history
platforma.wsgi.template
patch
|
blob
|
history
scripts/crop.py
patch
|
blob
|
history
scripts/imgconv.py
patch
|
blob
|
history
scripts/rip-themes-from-redmine.py
patch
|
blob
|
history
diff --git
a/NOTICE
b/NOTICE
index
ff69f4a
..
815f1c9
100644
(file)
--- a/
NOTICE
+++ b/
NOTICE
@@
-1,5
+1,5
@@
- FNP
Librarian
+ FNP
Redakcja
Copyright © 2010 Fundacja Nowoczesna Polska <fundacja@nowoczesnapolska.org.pl>
Copyright © 2010 Fundacja Nowoczesna Polska <fundacja@nowoczesnapolska.org.pl>
diff --git
a/apps/toolbar/management/commands/__init__.py
b/apps/toolbar/management/commands/__init__.py
index
5ff26b2
..
e69de29
100644
(file)
--- a/
apps/toolbar/management/commands/__init__.py
+++ b/
apps/toolbar/management/commands/__init__.py
@@
-1,4
+0,0
@@
-# To change this template, choose Tools | Templates
-# and open the template in the editor.
-
-
diff --git
a/apps/toolbar/management/commands/fixbuttons.py
b/apps/toolbar/management/commands/fixbuttons.py
index
5482ddc
..
7a49b37
100644
(file)
--- a/
apps/toolbar/management/commands/fixbuttons.py
+++ b/
apps/toolbar/management/commands/fixbuttons.py
@@
-1,5
+1,9
@@
#!/usr/bin/env python
#!/usr/bin/env python
-# -*- conding: utf-8 -*-
+# -*- coding: utf-8 -*-
+#
+# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
__author__="lreqc"
__date__ ="$2009-09-08 14:31:26$"
from django.core.management.base import NoArgsCommand
__author__="lreqc"
__date__ ="$2009-09-08 14:31:26$"
from django.core.management.base import NoArgsCommand
diff --git
a/apps/toolbar/models.py
b/apps/toolbar/models.py
index
0c40179
..
6a20263
100644
(file)
--- a/
apps/toolbar/models.py
+++ b/
apps/toolbar/models.py
@@
-1,3
+1,8
@@
+# -*- coding: utf-8 -*-
+#
+# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.db import models
from django.utils.translation import ugettext_lazy as _
diff --git
a/apps/toolbar/templatetags/toolbar_tags.py
b/apps/toolbar/templatetags/toolbar_tags.py
index
ac7ebbb
..
421709e
100644
(file)
--- a/
apps/toolbar/templatetags/toolbar_tags.py
+++ b/
apps/toolbar/templatetags/toolbar_tags.py
@@
-1,3
+1,8
@@
+# -*- coding: utf-8 -*-
+#
+# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django import template
from toolbar import models
from django import template
from toolbar import models
diff --git
a/apps/wiki/forms.py
b/apps/wiki/forms.py
index
db5998d
..
506ec8e
100644
(file)
--- a/
apps/wiki/forms.py
+++ b/
apps/wiki/forms.py
@@
-1,3
+1,8
@@
+# -*- coding: utf-8 -*-
+#
+# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django import forms
from wiki.models import Document, getstorage
from django import forms
from wiki.models import Document, getstorage
diff --git
a/apps/wiki/models.py
b/apps/wiki/models.py
index
8ec4d32
..
282d4c5
100644
(file)
--- a/
apps/wiki/models.py
+++ b/
apps/wiki/models.py
@@
-1,3
+1,8
@@
+# -*- coding: utf-8 -*-
+#
+# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
import re
import vstorage
from vstorage import DocumentNotFound
import re
import vstorage
from vstorage import DocumentNotFound
diff --git
a/apps/wiki/nice_diff.py
b/apps/wiki/nice_diff.py
index
612fa22
..
c000b13
100755
(executable)
--- a/
apps/wiki/nice_diff.py
+++ b/
apps/wiki/nice_diff.py
@@
-1,5
+1,8
@@
-#!/usr/bin/env python
-
+# -*- coding: utf-8 -*-
+#
+# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
import difflib
import re
import difflib
import re
diff --git
a/lib/test_vstorage.py
b/lib/test_vstorage.py
index
87b9a94
..
00df2f6
100644
(file)
--- a/
lib/test_vstorage.py
+++ b/
lib/test_vstorage.py
@@
-1,5
+1,9
@@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#!/usr/bin/python
# -*- coding: utf-8 -*-
+#
+# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
import os
import tempfile
import os
import tempfile
diff --git
a/lib/vstorage.py
b/lib/vstorage.py
index
02f0503
..
2274a04
100644
(file)
--- a/
lib/vstorage.py
+++ b/
lib/vstorage.py
@@
-1,4
+1,8
@@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
+#
+# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
import os
import tempfile
import datetime
import os
import tempfile
import datetime
diff --git
a/lib/wlapi.py
b/lib/wlapi.py
index
6f49dfe
..
cc73596
100644
(file)
--- a/
lib/wlapi.py
+++ b/
lib/wlapi.py
@@
-1,3
+1,8
@@
+# -*- coding: utf-8 -*-
+#
+# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
"""
Abstraction over API for wolnelektury.pl
"""
"""
Abstraction over API for wolnelektury.pl
"""
diff --git
a/platforma.wsgi.template
b/platforma.wsgi.template
index
76e3903
..
3528fe8
100644
(file)
--- a/
platforma.wsgi.template
+++ b/
platforma.wsgi.template
@@
-12,7
+12,6
@@
sys.stdout = sys.stderr
# Add apps and lib directories to PYTHONPATH
sys.path = [
# Add apps and lib directories to PYTHONPATH
sys.path = [
- '%(path)s/releases/current/%(project_name)s',
'%(path)s/releases/current',
'%(path)s/releases/current/apps',
'%(path)s/releases/current/lib',
'%(path)s/releases/current',
'%(path)s/releases/current/apps',
'%(path)s/releases/current/lib',
diff --git
a/scripts/crop.py
b/scripts/crop.py
index
a7d8384
..
3266e09
100644
(file)
--- a/
scripts/crop.py
+++ b/
scripts/crop.py
@@
-1,4
+1,9
@@
#!/usr/bin/env python
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
import sys
import os
from os.path import splitext, dirname, basename, realpath
import sys
import os
from os.path import splitext, dirname, basename, realpath
diff --git
a/scripts/imgconv.py
b/scripts/imgconv.py
index
ce514b3
..
3a7cfa9
100644
(file)
--- a/
scripts/imgconv.py
+++ b/
scripts/imgconv.py
@@
-1,4
+1,9
@@
#!/usr/bin/env python
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
import sys
import os
import shutil
import sys
import os
import shutil
diff --git
a/scripts/rip-themes-from-redmine.py
b/scripts/rip-themes-from-redmine.py
index
379e853
..
24c8008
100644
(file)
--- a/
scripts/rip-themes-from-redmine.py
+++ b/
scripts/rip-themes-from-redmine.py
@@
-1,5
+1,4
@@
#!/usr/bin/env python
#!/usr/bin/env python
-
import urllib
from lxml import html
import urllib
from lxml import html