Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Whitespace at EOL/EOF

  • Loading branch information...
commit a0a7f89e17997fc1f626da6b67675cff817e589b 1 parent 0c225e2
Victor Engmark authored
2  build.sh
View
@@ -4,4 +4,4 @@
cd $(dirname $0) && \
python setup.py test && \
python setup.py $1 bdist_egg bdist_rpm bdist_wininst sdist upload clean && \
-rm -fr *.pyc build dist temp vCard_module.egg-info
+rm -fr *.pyc build dist temp vCard_module.egg-info
2  test/__init__.py
View
@@ -1 +1 @@
-"""tests package"""
+"""tests package"""
2  tools.mk
View
@@ -16,7 +16,7 @@ variables:
$(filter-out \
environment% default automatic, \
$(origin $v)), \
- $(info $v = $($v) ($(value $v)))))
+ $(info $v = $($v) ($(value $v)))))
@true
.PHONY: variable-%
2  vcard/vcard.py
View
@@ -63,7 +63,7 @@ def unfold_vcard_lines(lines):
raise vcard_validators.VCardFormatError(
MSG_INVALID_LINE_SEPARATOR,
{'File line': index + 1})
-
+
if len(line) > VCARD_LINE_MAX_LENGTH_RAW:
warnings.warn('Long line in vCard: %s' % line.encode('utf-8'))
4 vcard/vcard_utils.py
View
@@ -13,7 +13,7 @@ def find_unescaped(text, char, escape_char = '\\'):
@param char: Character to find
@param escape_char: Escape character
@return: Index of first match, None if no match
-
+
Examples:
>>> find_unescaped('BEGIN:VCARD', ':')
5
@@ -56,4 +56,4 @@ def split_unescaped(text, separator, escape_char = '\\\\'):
text = text[index + 1:]
else:
result.append(text)
- return result
+ return result
2  vcard/vcard_validators.py
View
@@ -327,7 +327,7 @@ def validate_x_name(text):
>>> validate_x_name('') # Have to start with X-
Traceback (most recent call last):
VCardFormatError: Invalid X-name (See RFC 2426 section 4 for x-name syntax)
- String:
+ String:
>>> validate_x_name('x-abc') # X must be upper case
Traceback (most recent call last):
VCardFormatError: Invalid X-name (See RFC 2426 section 4 for x-name syntax)
Please sign in to comment.
Something went wrong with that request. Please try again.