Remove dead code

这个提交包含在:
Jean-Philippe Ouellet 2017-11-30 06:57:03 -05:00
父节点 91759077ff
当前提交 123aa28e87
找不到此签名对应的密钥
GPG 密钥 ID: 4747332C27533622

查看文件

@ -57,12 +57,6 @@ parser.add_argument('dir', action='store',
help='Template directory') help='Template directory')
def move_if_exists(source, dest_dir):
'''Move file/directory if exists'''
if os.path.exists(source):
shutil.move(source, os.path.join(dest_dir, os.path.basename(source)))
def get_root_img_size(source_dir): def get_root_img_size(source_dir):
'''Extract size of root.img to be imported''' '''Extract size of root.img to be imported'''
root_path = os.path.join(source_dir, 'root.img') root_path = os.path.join(source_dir, 'root.img')