예제 #1
0
파일: __init__.py 프로젝트: xtha/pxe
 def requires_repartition(answers):
     return 'installation-to-overwrite' in answers and \
        upgrade.getUpgrader(answers['installation-to-overwrite']).repartition
예제 #2
0
파일: __init__.py 프로젝트: xtha/pxe
 def optional_backup(answers):
     return answers.has_key("installation-to-overwrite") and \
            upgrade.getUpgrader(answers['installation-to-overwrite']).optional_backup
예제 #3
0
 def requires_backup(answers):
     return "installation-to-overwrite" in answers and \
            upgrade.getUpgrader(answers['installation-to-overwrite']).requires_backup
예제 #4
0
 def optional_backup(answers):
     return "installation-to-overwrite" in answers and \
            upgrade.getUpgrader(answers['installation-to-overwrite']).optional_backup
예제 #5
0
 def requires_repartition(answers):
     return 'installation-to-overwrite' in answers and \
        upgrade.getUpgrader(answers['installation-to-overwrite']).repartition