summaryrefslogtreecommitdiffstats
path: root/pym/repoman/utilities.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-03-27 08:52:35 -0700
committerZac Medico <zmedico@gentoo.org>2012-03-27 08:52:35 -0700
commitb2147b15e11b3d30d646098696ef69d749aeb5b2 (patch)
tree87bd634e6a305434351128469ef000ed267ee441 /pym/repoman/utilities.py
parentae8070542fcee0516fbfa270f6ef3f3e53a8d220 (diff)
downloadportage-b2147b15e11b3d30d646098696ef69d749aeb5b2.tar.gz
portage-b2147b15e11b3d30d646098696ef69d749aeb5b2.tar.bz2
portage-b2147b15e11b3d30d646098696ef69d749aeb5b2.zip
Replace @returns with @return.
Diffstat (limited to 'pym/repoman/utilities.py')
-rw-r--r--pym/repoman/utilities.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/repoman/utilities.py b/pym/repoman/utilities.py
index 34d649414..bee67aaa6 100644
--- a/pym/repoman/utilities.py
+++ b/pym/repoman/utilities.py
@@ -327,7 +327,7 @@ def editor_is_executable(editor):
@param editor: An EDITOR value from the environment.
@type: string
@rtype: bool
- @returns: True if an executable is found, False otherwise.
+ @return: True if an executable is found, False otherwise.
"""
editor_split = util.shlex_split(editor)
if not editor_split:
@@ -348,7 +348,7 @@ def get_commit_message_with_editor(editor, message=None):
@param message: An iterable of lines to show in the editor.
@type: iterable
@rtype: string or None
- @returns: A string on success or None if an error occurs.
+ @return: A string on success or None if an error occurs.
"""
fd, filename = mkstemp()
try:
@@ -389,7 +389,7 @@ def get_commit_message_with_stdin():
Read a commit message from the user and return it.
@rtype: string or None
- @returns: A string on success or None if an error occurs.
+ @return: A string on success or None if an error occurs.
"""
print("Please enter a commit message. Use Ctrl-d to finish or Ctrl-c to abort.")
commitmessage = []