summaryrefslogtreecommitdiff
path: root/DistUpgrade/dist-upgrade.py
blob: eff05f35551762cf726ae07f7753c40436d0de60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/python2.4

from DistUpgradeViewGtk import GtkDistUpgradeView
from DistUpgradeControler import DistUpgradeControler
import logging
import os

if __name__ == "__main__":

    logging.basicConfig(level=logging.DEBUG,
                        filename=os.path.expanduser("~/dist-upgrade.log"),
                        format='%(asctime)s %(levelname)s %(message)s',
                        filemode='w')

    view = GtkDistUpgradeView()
    app = DistUpgradeControler(view)

    app.run()

    # testcode to see if the bullets look nice in the dialog
    #for i in range(4):
    #    view.setStep(i+1)
    #    app.openCache()