changeset 217:bb3c851b18b1

add source file endcoding header
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sun, 27 Apr 2014 05:33:34 +0200
parents 9bc4b2465435
children 699d8f1cebd4
files AddFeed.py BackendFactory.py DisplayModel.py FeedEntryItemDelegate.py FeedEntryTableModel.py FeedSettings.py MainWindow.py OpmlImport.py PreferencesDialog.py backend/AbstractBackend.py backend/AbstractFeedUpdater.py backend/couchdb/CouchDb.py backend/couchdb/CouchDbBackend.py backend/couchdb/Feed.py backend/couchdb/FeedEntry.py backend/couchdb/FeedUpdater.py backend/couchdb/ListDateTimeField.py backend/couchdb/Preferences.py backend/sqlalchemy/Database.py backend/sqlalchemy/Feed.py backend/sqlalchemy/FeedEntry.py backend/sqlalchemy/FeedUpdater.py backend/sqlalchemy/Mapping.py backend/sqlalchemy/Preference.py backend/sqlalchemy/Preferences.py backend/sqlalchemy/SqlAlchemyBackend.py backend/sqlalchemy/util.py feedupdate.py feedworm.py prettyprint.py tests/FeedUpdaterTests.py tests/couchdb/FeedTests.py tests/couchdb/ListDateTimeFieldTests.py
diffstat 33 files changed, 37 insertions(+), 37 deletions(-) [+]
line wrap: on
line diff
--- a/AddFeed.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/AddFeed.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from PyQt4 import QtGui
 from Ui_AddFeed import Ui_AddFeed
 import logging
--- a/BackendFactory.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/BackendFactory.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 import argparse
 
 SQLALCHEMY_BACKEND = "sqlalchemy"
--- a/DisplayModel.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/DisplayModel.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from PyQt4.QtCore import QAbstractListModel, QModelIndex, QVariant, Qt
 
 class DisplayModel(QAbstractListModel):
--- a/FeedEntryItemDelegate.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/FeedEntryItemDelegate.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from PyQt4 import QtGui
 from PyQt4.QtGui import QFont
 
--- a/FeedEntryTableModel.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/FeedEntryTableModel.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from PyQt4.QtCore import QAbstractTableModel, QVariant, Qt
 
 class TableModel(QAbstractTableModel):
--- a/FeedSettings.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/FeedSettings.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from PyQt4 import QtGui
 from Ui_FeedSettings import Ui_FeedSettings
 
--- a/MainWindow.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/MainWindow.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from AddFeed import AddFeed
 from DisplayModel import DisplayModel
 from FeedEntryItemDelegate import FeedEntryItemDelegate
--- a/OpmlImport.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/OpmlImport.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from Feed import Feed
 from xml.dom.minidom import parse
 
--- a/PreferencesDialog.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/PreferencesDialog.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from PyQt4 import QtGui
 from Ui_Preferences import Ui_Preferences
 
--- a/backend/AbstractBackend.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/AbstractBackend.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from datetime import datetime, timedelta
 
 def calculateExpireDate(preferences):
--- a/backend/AbstractFeedUpdater.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/AbstractFeedUpdater.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from datetime import datetime
 from urllib2 import ProxyHandler
 import AbstractBackend
--- a/backend/couchdb/CouchDb.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/couchdb/CouchDb.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from argparse import ArgumentParser
 
 database_url = None
--- a/backend/couchdb/CouchDbBackend.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/couchdb/CouchDbBackend.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from FeedUpdater import FeedUpdater
 from Preferences import Preferences
 from backend.AbstractBackend import AbstractBackend
--- a/backend/couchdb/Feed.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/couchdb/Feed.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from couchdb.mapping import BooleanField, DateTimeField, Document, IntegerField, TextField
 from datetime import datetime, timedelta
 import CouchDb
--- a/backend/couchdb/FeedEntry.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/couchdb/FeedEntry.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from backend.couchdb.ListDateTimeField import ListDateTimeField
 from couchdb.mapping import BooleanField, Document, TextField
 from datetime import datetime
--- a/backend/couchdb/FeedUpdater.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/couchdb/FeedUpdater.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from FeedEntry import FeedEntry
 from backend.AbstractFeedUpdater import AbstractFeedUpdater
 import logging
--- a/backend/couchdb/ListDateTimeField.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/couchdb/ListDateTimeField.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from couchdb.mapping import Field
 from datetime import datetime
 
--- a/backend/couchdb/Preferences.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/couchdb/Preferences.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 import CouchDb
 
 DAYS_TO_KEEP_FEED_ENTRIES = "daysToKeepFeedEntries"
--- a/backend/sqlalchemy/Database.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/sqlalchemy/Database.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from sqlalchemy.engine import create_engine
 from sqlalchemy.orm import sessionmaker
 import Mapping
--- a/backend/sqlalchemy/Feed.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/sqlalchemy/Feed.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from datetime import datetime, timedelta
 import FeedEntry
 
--- a/backend/sqlalchemy/FeedEntry.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/sqlalchemy/FeedEntry.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from datetime import datetime
 
 def compareByUpdateDate(first, second):
--- a/backend/sqlalchemy/FeedUpdater.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/sqlalchemy/FeedUpdater.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from Feed import Feed
 from FeedEntry import FeedEntry
 from backend.AbstractFeedUpdater import AbstractFeedUpdater, FeedUpdateException
--- a/backend/sqlalchemy/Mapping.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/sqlalchemy/Mapping.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from Feed import Feed
 from FeedEntry import FeedEntry
 from Preference import Preference
--- a/backend/sqlalchemy/Preference.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/sqlalchemy/Preference.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 class Preference(object):
     @staticmethod
     def forKey(key, session):
--- a/backend/sqlalchemy/Preferences.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/sqlalchemy/Preferences.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from Preference import Preference
 
 DAYS_TO_KEEP_FEED_ENTRIES = "DAYS_TO_KEEP_FEED_ENTRIES"
--- a/backend/sqlalchemy/SqlAlchemyBackend.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/sqlalchemy/SqlAlchemyBackend.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from Feed import Feed
 from FeedEntry import FeedEntry
 from FeedUpdater import FeedUpdater
--- a/backend/sqlalchemy/util.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/backend/sqlalchemy/util.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 import sys
 
 def databaseLoggingEnabled():
--- a/feedupdate.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/feedupdate.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,5 +1,5 @@
 #!/usr/bin/env python
-
+# -*- coding: utf-8 -*-
 import BackendFactory
 import logging
 
--- a/feedworm.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/feedworm.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from MainWindow import MainWindow
 from PyQt4 import QtGui
 from PyQt4.QtNetwork import QNetworkProxy
--- a/prettyprint.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/prettyprint.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 import sys
 
 newlineAfter = [ '{', '[', ',' ]
@@ -47,4 +47,4 @@
     
     filename = sys.argv[1]
     with open(filename) as file:
-        prettyPrint(file)
\ No newline at end of file
+        prettyPrint(file)
--- a/tests/FeedUpdaterTests.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/tests/FeedUpdaterTests.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 import unittest
 from Feed import Feed
 from FeedUpdater import FeedUpdater
@@ -21,4 +21,4 @@
 
 if __name__ == "__main__":
     #import sys;sys.argv = ['', 'Test.testName']
-    unittest.main()
\ No newline at end of file
+    unittest.main()
--- a/tests/couchdb/FeedTests.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/tests/couchdb/FeedTests.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from backend.couchdb.Feed import Feed
 from couchdb.client import Server
 import unittest
@@ -34,4 +34,4 @@
 
 if __name__ == "__main__":
     #import sys;sys.argv = ['', 'Test.testName']
-    unittest.main()
\ No newline at end of file
+    unittest.main()
--- a/tests/couchdb/ListDateTimeFieldTests.py	Sun Apr 27 05:19:45 2014 +0200
+++ b/tests/couchdb/ListDateTimeFieldTests.py	Sun Apr 27 05:33:34 2014 +0200
@@ -1,4 +1,4 @@
-
+# -*- coding: utf-8 -*-
 from backend.couchdb.ListDateTimeField import ListDateTimeField
 from couchdb import Server
 from couchdb.http import ResourceNotFound
@@ -61,4 +61,4 @@
 
 if __name__ == "__main__":
     #import sys;sys.argv = ['', 'Test.testName']
-    unittest.main()
\ No newline at end of file
+    unittest.main()