Skip to content

Commit

Permalink
Bump version to 0.2.0
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero committed Nov 27, 2023
1 parent a4bf13b commit d85c082
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions plugins/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,17 @@
--version Show gzdev's version
"""

import distro
import os
import pathlib
import re
import subprocess
import sys
import urllib.error
import urllib.request

from docopt import docopt

import yaml

import distro
from docopt import docopt


def _check_call(cmd):
Expand Down Expand Up @@ -120,7 +118,6 @@ def assert_key_in_file(key, key_path):
output = subprocess.check_output(
['gpg', '--show-keys', key_path])

print(output.decode("ascii"))
if key not in output.decode("ascii"):
error(f"Key {key} was not found in file {key_path}")

Expand Down Expand Up @@ -209,7 +206,7 @@ def validate_input(args, config):
action, repo_name, repo_type, project, force_linux_distro = args

if (action == 'enable' or action == 'disable' or action == 'list'):
True
pass
else:
error('Unknown action: ' + action)

Expand All @@ -229,7 +226,7 @@ def process_input(args, config):

def main():
try:
args = normalize_args(docopt(__doc__, version='gzdev-repository 0.1.0'))
args = normalize_args(docopt(__doc__, version='gzdev-repository 0.2.0'))
config = load_config_file()
validate_input(args, config)
process_input(args, config)
Expand Down

0 comments on commit d85c082

Please sign in to comment.