@staticmethod
    def rename_master_file(fname, timestamp):
        backupdir = '{0}_{1}'.format(BACKUP_PREFIX, timestamp.isoformat())
        if not os.path.exists(backupdir):
            os.mkdir(backupdir)
        subdir = os.path.join(backupdir, os.path.dirname(fname))
        if not os.path.exists(subdir):
            os.makedirs(subdir)

        shutil.move(pathfor(fname, c.MASTER), subdir)
Utility assertion: assert that the given stream is empty
dataset/ETHPy150Open rr326/servi/servi/template_mgr.py/TemplateManager.rename_master_file--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/admin_scripts/tests.py/AdminScriptTestCase.assertNoOutput