public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ankur Sinha <sanjay.ankur@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/trash-cli] pr6: Update empty days patch
Date: Sun, 20 Sep 2026 13:17:56 GMT	[thread overview]
Message-ID: <178991027619.1.908967391955681451.rpms-trash-cli-27495c1c6cdb@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/trash-cli
Branch : pr6
Commit : 27495c1c6cdb7d61afcdaf5e2178be84592104cc
Author : Ankur Sinha <sanjay.ankur@gmail.com>
Date   : 2011-02-07T18:00:02+05:30
Stats  : +9/-3 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/trash-cli/c/27495c1c6cdb7d61afcdaf5e2178be84592104cc?branch=pr6

Log:
Update empty days patch

---
diff --git a/trash-cli-empty_days.patch b/trash-cli-empty_days.patch
index 93a04ab..1d99366 100644
--- a/trash-cli-empty_days.patch
+++ b/trash-cli-empty_days.patch
@@ -1,8 +1,8 @@
 diff --git a/trashcli/cli/empty.py b/trashcli/cli/empty.py
-index 70a49f2..2d9d90f 100755
+index 70a49f2..b290e89 100755
 --- a/trashcli/cli/empty.py
 +++ b/trashcli/cli/empty.py
-@@ -55,9 +55,9 @@ def main(argv=None) :
+@@ -55,11 +55,12 @@ def main(argv=None) :
      if len(args) > 1 :
          parser.print_usage()
          parser.exit()
@@ -13,4 +13,7 @@ index 70a49f2..2d9d90f 100755
 +            days=int(args[0])
          except :
              parser.print_usage()
++            parser.exit()
  
+     for trashedfile in trashcan.trashed_files() :
+         delta=datetime.datetime.now()-trashedfile.deletion_date

diff --git a/trash-cli.spec b/trash-cli.spec
index fedc005..ce87718 100644
--- a/trash-cli.spec
+++ b/trash-cli.spec
@@ -4,7 +4,7 @@
 Summary:        Command line interface to the freedesktop.org trashcan
 Name:           trash-cli
 Version:        0.11.3
-Release:        0.2.r315%{?dist}
+Release:        0.3.r315%{?dist}
 License:        GPLv2+
 Group:          System Environment/Base
 URL  :          http://trash-cli.googlecode.com/
@@ -60,6 +60,9 @@ rm -rf %{buildroot}
 %{_mandir}/man1/trash-*
 
 %changelog
+* Mon Feb 07 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.11.3-0.3.r315
+- Updated patch
+
 * Sun Feb 06 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.11.3-0.2.r315
 - Add requires to python-setuptools
 - Patch to correct trash-empty

                 reply	other threads:[~2026-09-20 13:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178991027619.1.908967391955681451.rpms-trash-cli-27495c1c6cdb@fedoraproject.org \
    --to=sanjay.ankur@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox