~lidaobing/ubuntu-tweak/ubuntu-ubuntu-tweak

« back to all changes in this revision

Viewing changes to ubuntutweak/network/__init__.py

  • Committer: LI Daobing
  • Date: 2010-07-31 10:10:26 UTC
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: lidaobing@gmail.com-20100731101026-9o3m59258q5perbo
Tags: upstream-0.5.5
ImportĀ upstreamĀ versionĀ 0.5.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
class FetchClient(object):
2
 
    '''The fetch client, will be usable both with local and remote.
3
 
    The auto-fetch and auto-check feature will be used through the global preference.
4
 
    '''
5
 
 
6
 
    def __init__(self, model):
7
 
        '''model represent the model name, such as scripts, templates'''
8
 
        self.model = model
9
 
 
10
 
    def _fetch_data(self, model):
11
 
        pass
12
 
 
13
 
    def check_connection(self):
14
 
        pass
15
 
 
16
 
    def check_remote_data(self):
17
 
        pass
18
 
 
19
 
    def fetch_remote_data(self):
20
 
        pass
21
 
 
22
 
    def check_local_data(self):
23
 
        pass
24
 
 
25
 
    def fetch_local_data(self):
26
 
        pass