mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Remove useless imports and fstrings from build-rpm.py
This commit is contained in:
parent
b375a7e96e
commit
d7f80965b1
1 changed files with 1 additions and 3 deletions
|
@ -1,11 +1,9 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
import argparse
|
import argparse
|
||||||
import inspect
|
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
import subprocess
|
import subprocess
|
||||||
import tempfile
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
root = Path(__file__).parent.parent.parent
|
root = Path(__file__).parent.parent.parent
|
||||||
|
@ -98,7 +96,7 @@ def build(build_dir, qubes=False):
|
||||||
if qubes:
|
if qubes:
|
||||||
cmd += [
|
cmd += [
|
||||||
"--define",
|
"--define",
|
||||||
f"_qubes 1",
|
"_qubes 1",
|
||||||
]
|
]
|
||||||
subprocess.run(cmd, check=True)
|
subprocess.run(cmd, check=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue