summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2009-12-05 08:04:47 -0500
committerDavid Malcolm <dmalcolm@redhat.com>2009-12-05 08:04:47 -0500
commit2ea35e07d4d51a8e959805049606beb36364bdc7 (patch)
treef748c53add29ccd467d49052a224baf98aff2ca6
parent49898ac56d1ddf472c330c4ace12482f80b00649 (diff)
downloadtriage-2ea35e07d4d51a8e959805049606beb36364bdc7.tar.gz
triage-2ea35e07d4d51a8e959805049606beb36364bdc7.tar.xz
triage-2ea35e07d4d51a8e959805049606beb36364bdc7.zip
Add docstring for Change class
-rwxr-xr-xabrt-triage.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/abrt-triage.py b/abrt-triage.py
index b88bd5f..70834d6 100755
--- a/abrt-triage.py
+++ b/abrt-triage.py
@@ -146,6 +146,17 @@ def what_provides_file(path):
return pkg.name # this is the subpackage, not the srpm
class Change(object):
+ '''
+ Class representing a change to be made in Bugzilla.
+
+ Somewhat analogous to a patch to be applied to a source tree.
+
+ Currently only supports printing, but eventually ought to support being
+ applied to the bug.
+
+ I want to capture a change as an entity so that you can always do human
+ review of the change, rather than automatically pushing blindly via XML-RPC
+ '''
def __init__(self,
newsummary=None,
newcomponent=None,