fixed indentation issues and mix of tabs and spaces.

svn: r11943
This commit is contained in:
Raphael Ackermann
2009-02-09 23:37:40 +00:00
parent 7f1cbf9063
commit baef4d76a4
18 changed files with 30 additions and 30 deletions

View File

@@ -1063,9 +1063,9 @@ class GeoView(HtmlView):
if maxlong < 0.1 :
zoomlong = 13
if zoomlat < zoomlong:
self.zoom = zoomlat
self.zoom = zoomlat
else:
self.zoom = zoomlong
self.zoom = zoomlong
self.zoom -= 1
if self.zoom < 2:
self.zoom = 2
@@ -1100,8 +1100,8 @@ class GeoView(HtmlView):
longt = self.minlon+self.centerlon
# for all maps, 0.0 for longitude and latitude means no location.
if latit == 0.0 and longt == 0.0:
latit = 0.00000001
longt = 0.00000001
latit = 0.00000001
longt = 0.00000001
LOG.debug( "self.maxlon = %f\n" % self.maxlon)
LOG.debug("self.minlon = %f\n" % self.minlon)

View File

@@ -78,7 +78,7 @@ except AttributeError:
NoteView,
]
if geopresent:
DATA_VIEWS.append(GeoView)
DATA_VIEWS.append(GeoView)
def get_views():
"""