~ubuntu-branches/ubuntu/trusty/mythbuntu-bare/trusty-proposed

« back to all changes in this revision

Viewing changes to client/bare/mythbackup.py

  • Committer: Package Import Robot
  • Author(s): Thomas Mashos
  • Date: 2014-06-06 14:18:34 UTC
  • Revision ID: package-import@ubuntu.com-20140606141834-o295omp1kmpscz19
Tags: 2.6.1
Fixed bugs due to python 2 to 3 conversion fixes (LP: #1327422)

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
            logger.info(ACTOR+'Master Backend status is True')
80
80
            MBE="_MBE"
81
81
            DBB="_NODB"
82
 
            if BackupDB == '1' or BackupDB == True:
 
82
            if BackupDB == '1' or BackupDB == True or BackupDB == "True":
83
83
                logger.info(ACTOR+'Backing up database')
84
84
                #Run DB Backup
85
85
                os.system("echo '20\nBacking up database (this could take a few minutes)'>"+STATUSFILE)