Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-03-05 04:32:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-03-05 04:32:28 +0300
commitaec5a36c12a3ec1d068adb8270017e509087dff6 (patch)
treedcc0408cf538f1fb39a41dd84c775342863b8a32 /sun_position
parent353492b181e08663b8cd3bc5733920b6fcdbcbe4 (diff)
Cleanup: tabs -> spaces
Diffstat (limited to 'sun_position')
-rw-r--r--sun_position/geo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sun_position/geo.py b/sun_position/geo.py
index 6d49f2ad..59c27e39 100644
--- a/sun_position/geo.py
+++ b/sun_position/geo.py
@@ -36,7 +36,7 @@ class Parser:
def add(self, name, pattern, virtual=False):
""" Adds a new named pattern (regular expression) that can reference previously added patterns by %(pattern_name)s.
- Virtual patterns can be used to make expressions more compact but don't show up in the parse tree. """
+ Virtual patterns can be used to make expressions more compact but don't show up in the parse tree. """
self.raw_patterns[name] = "(?:" + pattern + ")"
self.virtual[name] = virtual
@@ -169,7 +169,7 @@ def get_coordinate(b):
def parse_position(s):
""" Takes a (utf8-encoded) string describing a position and returns a tuple of floats for latitude and longitude in degrees.
- Tries to be as tolerant as possible with input. Returns None if parsing doesn't succeed. """
+ Tries to be as tolerant as possible with input. Returns None if parsing doesn't succeed. """
parse_tree = position_parser.parse("position", s)
if parse_tree == None: return None