@@ -0,0 +1,1000 @@
+import os%0Afrom ConfigParser import SafeConfigParser%0A%0Aclass Driver(object):%0A    def __init__(self):%0A        self.base_path = os.path.dirname(os.path.abspath(__file__))%0A        config_filename = %22drivers.conf%22%0A        self.config_path = os.path.join(self.base_path, config_filename)%0A        if os.path.exists(self.config_path):%0A            try:%0A                self.parser = SafeConfigParser()%0A                self.parser.read(self.config_path)%0A            except IOError:%0A                print %22ERROR opening config file: %7B%7D%22.format(config_filename)%0A                sys.exit(1)%0A        else:%0A            print %22ERROR: config.ini not found! Exiting!%22%0A            sys.exit(1)%0A%0A    def acquire_access_token(self, guest=False):%0A        pass%0A%0A    def connect(self, include_guest=False):%0A        pass%0A%0A    def download(self, remote_filename, local_filename):%0A        pass%0A%0A    def upload(self, local_filename, remote_filename):%0A        pass%0A%0A    def share(self, host_filename, guest_filename):%0A        pass%0A

make common driver base class