Back to index

plone3  3.1.7
Functions | Variables
list Namespace Reference

Functions

def main

Variables

tuple __I18NDUDE = os.environ.get('I18NDUDE', 'i18ndude')

Detailed Description

   Usage: list.py

Function Documentation

def list.main ( )

Definition at line 11 of file list.py.

00011 
00012 def main():
00013     option = 'all'
00014     if len(sys.argv) > 1:
00015         option = sys.argv[1]
00016 
00017     os.chdir('..')
00018     os.chdir('i18n')
00019 
00020     products = None
00021     if option == 'all':
00022         products = [getProduct(p) for p in getPotFiles()]
00023     elif option in PRODUCTS.keys():
00024         products = (getLongProductName(option), )
00025 
00026     if products:
00027         os.system(__I18NDUDE + (' list --products %s') % (' '.join(products)))

Here is the call graph for this function:


Variable Documentation

tuple list.__I18NDUDE = os.environ.get('I18NDUDE', 'i18ndude')

Definition at line 9 of file list.py.