Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 590391 Details for
Bug 828677
mock command line option --scm-option write_tar=False is ignored
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
[PATCH] Fix write_tar check in scm.py
0001-Fix-write_tar-check-in-scm.py.patch (text/plain), 918 bytes, created by
Marko Myllynen
on 2012-06-08 09:51:58 UTC
(
hide
)
Description:
[PATCH] Fix write_tar check in scm.py
Filename:
MIME Type:
Creator:
Marko Myllynen
Created:
2012-06-08 09:51:58 UTC
Size:
918 bytes
patch
obsolete
>From c50f3c9fe5d06522730356336ea2324337fe5290 Mon Sep 17 00:00:00 2001 >From: Marko Myllynen <myllynen@redhat.com> >Date: Fri, 8 Jun 2012 12:47:49 +0300 >Subject: [PATCH] Fix write_tar check in scm.py > >Make sure it works for both booleans from the config file and >strings from the command line. > >Fixes https://bugzilla.redhat.com/show_bug.cgi?id=828677 >--- > py/mockbuild/scm.py | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/py/mockbuild/scm.py b/py/mockbuild/scm.py >index 22d89d2..15b3c26 100644 >--- a/py/mockbuild/scm.py >+++ b/py/mockbuild/scm.py >@@ -143,7 +143,7 @@ class scmWorker(object): > self.adjust_git_timestamps() > > # Generate a tarball from the checked out sources if needed >- if self.write_tar: >+ if str(self.write_tar).lower() == "true": > tardir = self.name + "-" + self.version > tarball = tardir + ".tar.gz" > >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 828677
: 590391