[csw-devel] SF.net SVN: opencsw:[604] utilities
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Wed Feb 8 13:29:19 CET 2012
Revision: 604
http://opencsw.svn.sourceforge.net/opencsw/?rev=604&view=rev
Author: wahwah
Date: 2012-02-08 12:29:19 +0000 (Wed, 08 Feb 2012)
Log Message:
-----------
site-links: Formatting, white space changes
Modified Paths:
--------------
utilities/site_links.py
utilities/site_links_test.py
Modified: utilities/site_links.py
===================================================================
--- utilities/site_links.py 2012-02-08 12:29:08 UTC (rev 603)
+++ utilities/site_links.py 2012-02-08 12:29:19 UTC (rev 604)
@@ -4,7 +4,7 @@
#
# Identifies OpenCSW mirror status.
# (C) 2009 Maciej Blizinski
-#
+#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
@@ -98,6 +98,7 @@
class OpenCswLinks(object):
+
def __init__(self, site_data):
self.sites = set([Site(*a) for a in site_data])
self.sites_by_url = dict([(x.url, x) for x in self.sites])
Modified: utilities/site_links_test.py
===================================================================
--- utilities/site_links_test.py 2012-02-08 12:29:08 UTC (rev 603)
+++ utilities/site_links_test.py 2012-02-08 12:29:19 UTC (rev 604)
@@ -1,10 +1,10 @@
-#!/opt/csw/bin/python2.6
+#!/usr/bin/env python2.6
# coding=utf-8
# $Id$
#
# Identifies OpenCSW mirror status.
# (C) 2009 Maciej Blizinski
-#
+#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list