summaryrefslogtreecommitdiff
path: root/cmd2/utils.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-09-21 09:02:04 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2018-09-21 09:02:04 -0400
commit68e107e614ec344a0339da9eccb1a88f0bef3478 (patch)
tree9b888672798ac304321cf0da91c32cef14e143b3 /cmd2/utils.py
parent311e5fd0bc134a8dfc7450c7a6da91b0b23cf5d8 (diff)
downloadcmd2-git-68e107e614ec344a0339da9eccb1a88f0bef3478.tar.gz
Added unit tests for new utility functions and fixed a comment
Diffstat (limited to 'cmd2/utils.py')
-rw-r--r--cmd2/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/utils.py b/cmd2/utils.py
index f7ca29c2..9cbea915 100644
--- a/cmd2/utils.py
+++ b/cmd2/utils.py
@@ -24,7 +24,7 @@ def is_quoted(arg: str) -> bool:
"""
Checks if a string is quoted
:param arg: the string being checked for quotes
- :return: True if a string is quotes
+ :return: True if a string is quoted
"""
return len(arg) > 1 and arg[0] == arg[-1] and arg[0] in constants.QUOTES