Module v.u.utilities

Part of vmc.utils

Misc utilities
Function run_lsb_cmd Undocumented
Function extract_lsb_info Undocumented
Function dict_reverter Returns a reverted copy of dict_in
Function touch Set the access/modified times of this file to the current time.
Function get_file_data Returns the data of the file at path path
Function save_file saves data in path
Function generate_vmc_dns_lock Generates a DNS lock for VMC in /tmp
Function is_bogus_ip Returns True if ip is a bogus ip
Function is_valid_number Undocumented
def run_lsb_cmd(cmd):
Undocumented
def extract_lsb_info():
Undocumented
def dict_reverter(dict_in):
Returns a reverted copy of dict_in
def touch(path):

Set the access/modified times of this file to the current time.

Create the file if it does not exist.
def get_file_data(path):
Returns the data of the file at path path
def save_file(path, data):
saves data in path
def generate_vmc_dns_lock(dns1, dns2, path=VMC_DNS_LOCK):
Generates a DNS lock for VMC in /tmp
def is_bogus_ip(ip):
Returns True if ip is a bogus ip
def is_valid_number(number):
Undocumented
API Documentation for vodafone-mobile-connect-card-driver-for-linux, generated by pydoctor at 2008-01-10 13:06:31.