summaryrefslogtreecommitdiff
path: root/ishtar_common/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/utils.py')
-rw-r--r--ishtar_common/utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/utils.py b/ishtar_common/utils.py
index d55687cd7..b23daf6ea 100644
--- a/ishtar_common/utils.py
+++ b/ishtar_common/utils.py
@@ -1357,11 +1357,11 @@ def get_all_related_objects(model):
def num2col(n):
- string = ""
+ strng = ""
while n > 0:
n, remainder = divmod(n - 1, 26)
- string = chr(65 + remainder) + string
- return string
+ strng = chr(65 + remainder) + strng
+ return strng
RE_TSVECTOR = re.compile(r"('[^']+':\d+(?:,\d+)*)")