Merge pull request #2468 from fcrozat/fcrozat

bugowner.py: python3 switch
This commit is contained in:
Ludwig Nussel 2020-08-20 15:38:05 +02:00 committed by GitHub
commit 30a5ec589a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Copyright (c) 2018 SUSE LLC
#
@ -22,7 +22,7 @@
from __future__ import print_function
from ConfigParser import ConfigParser
from osc import OscConfigParser
from xdg.BaseDirectory import load_first_config
from lxml import etree as ET
from collections import namedtuple
@ -30,7 +30,7 @@ from collections import namedtuple
import sys
import cmdln
import logging
import urllib2
import urllib
import osc.core
import yaml
import os
@ -177,7 +177,7 @@ class CommandLineInterface(ToolBase.CommandLineInterface):
@cmdln.option('--request', action='store_true', help='print osc request lines')
@cmdln.option('--employee', action='store_true', help='only filter employees')
def do_owner(self, subcmd, opts, *package):
"""${cmd_name}: find owners of the given pacakge
"""${cmd_name}: find owners of the given package
${cmd_usage}
${cmd_option_list}