--- cli/koji | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/cli/koji b/cli/koji index a870342..04d00bc 100755 --- a/cli/koji +++ b/cli/koji @@ -5726,6 +5726,15 @@ def anon_handle_download_build(options, session, args): os.write(out, buf) finally: os.close(out) + + # Set the mtime to the remote mtime, people like this. BZ 87263. + try: + import pycurl + mod_time = file.curl_obj.getinfo(pycurl.INFO_FILETIME) + os.utime(relpath, (mod_time, mod_time)) + except: + pass # Ignore errors here. + file.close()
def anon_handle_wait_repo(options, session, args):
On Wed, Oct 30, 2013 at 12:30 AM, James Antill james@and.org wrote:
# Set the mtime to the remote mtime, people like this. BZ 87263.
Just a tiny remark, BZ # here doesn't match the one in $subject
On Tue, 2013-11-05 at 10:20 +0200, Ville Skyttä wrote:
On Wed, Oct 30, 2013 at 12:30 AM, James Antill james@and.org wrote:
# Set the mtime to the remote mtime, people like this. BZ 87263.
Just a tiny remark, BZ # here doesn't match the one in $subject
Thanks, fixed. Managed to somehow delete the last number :-o.
buildsys@lists.fedoraproject.org