#!/usr/bin/env python


import sys
sys.path.insert(0,"/adm/dim/site-packages")
sys.path.insert(0,"/dsk/l1/distributions/soc/7/dim/site-packages")


try:
    import tl2rpm
except Exception, e:
    print "[ERROR] tl2rpm python module cannot be loaded from </usr/share/dim/>:"
    print "        %s.\n" % (e)
    print "        Please check the integrity of the <dim> package."
    sys.exit(1)

tl2rpm.main(sys.argv)
sys.exit(0)
