On Thu, 2012-08-02 at 14:33 -0400, Chris Evich wrote:
> On 08/02/2012 12:59 PM, Chris Evich wrote:
> > Signed-off-by: Chris Evich<[email protected]>
> > ---
> >   utils/check_patch.py |    4 +++-
> >   1 files changed, 3 insertions(+), 1 deletions(-)
> >
> > diff --git a/utils/check_patch.py b/utils/check_patch.py
> > index 4abe1a5..ea0d668 100755
> > --- a/utils/check_patch.py
> > +++ b/utils/check_patch.py
> > @@ -30,6 +30,8 @@ except ImportError:
> >   from autotest.client.shared import utils, error, logging_config
> >   from autotest.client.shared import logging_manager
> >
> > +# Hostname of patchwork server to use
> > +PWHOST = "patchwork.virt.bos.redhat.com"
> >
> >   class CheckPatchLoggingConfig(logging_config.LoggingConfig):
> >       def configure_logging(self, results_dir=None, verbose=False):
> > @@ -551,7 +553,7 @@ class PatchChecker(object):
> >
> >           @param id: Patchwork patch id.
> >           """
> > -        patch_url = "http://patchwork.test.kernel.org/patch/%s/mbox/"; % id
> > +        patch_url = "http://%s/patch/%s/mbox/"; % (PWHOST,id)
> >           patch_dest = os.path.join(self.base_dir, 'patchwork-%s.patch' % 
> > id)
> >           patch = utils.get_file(patch_url, patch_dest)
> >           # Patchwork sometimes puts garbage on the path, such as long
> 
> Note: not applied, just proposed :)

Fair enough. Maybe an additional flag to allow people to override the
default pw server?



_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to