khard/khard.py
def source_subcommand(selected_vcard, editor):
    """Open the vcard file for a contact in an external editor.

    :param selected_vcard: the contact to edit
    :type selected_vcard: carddav_object.CarddavObject
    :param editor: the eitor command to use
    :type editor: str
    :returns: None
    :rtype: None

    """
    child = subprocess.Popen([editor, selected_vcard.filename])
    child.communicate()
def source_subcommand(selected_vcard, editor):
    child = subprocess.Popen([editor, selected_vcard.filename])
    child.communicate()
def source_subcommand ( selected_vcard , editor ) : child = subprocess . Popen ( [ editor , selected_vcard . filename ] ) child . communicate ( )
Open the vcard file for a contact in an external editor.

    :param selected_vcard: the contact to edit
    :type selected_vcard: carddav_object.CarddavObject
    :param editor: the eitor command to use
    :type editor: str
    :returns: None
    :rtype: None
Open the vcard file for a contact in an external editor .