Browse Source

Updates copyright years to include 2012

Ask Solem 13 năm trước cách đây
mục cha
commit
6b52605db6
57 tập tin đã thay đổi với 57 bổ sung57 xóa
  1. 1 1
      LICENSE
  2. 1 1
      celery/__init__.py
  3. 1 1
      celery/abstract.py
  4. 1 1
      celery/app/__init__.py
  5. 1 1
      celery/app/amqp.py
  6. 1 1
      celery/app/base.py
  7. 1 1
      celery/app/defaults.py
  8. 1 1
      celery/app/task/__init__.py
  9. 1 1
      celery/beat.py
  10. 1 1
      celery/contrib/batches.py
  11. 1 1
      celery/contrib/rdb.py
  12. 1 1
      celery/datastructures.py
  13. 1 1
      celery/decorators.py
  14. 1 1
      celery/events/__init__.py
  15. 1 1
      celery/events/cursesmon.py
  16. 1 1
      celery/events/dumper.py
  17. 1 1
      celery/events/snapshot.py
  18. 1 1
      celery/events/state.py
  19. 1 1
      celery/exceptions.py
  20. 1 1
      celery/execute/trace.py
  21. 1 1
      celery/loaders/__init__.py
  22. 1 1
      celery/loaders/app.py
  23. 1 1
      celery/loaders/base.py
  24. 1 1
      celery/loaders/default.py
  25. 1 1
      celery/local.py
  26. 1 1
      celery/platforms.py
  27. 1 1
      celery/registry.py
  28. 1 1
      celery/result.py
  29. 1 1
      celery/routes.py
  30. 1 1
      celery/schedules.py
  31. 1 1
      celery/signals.py
  32. 1 1
      celery/task/__init__.py
  33. 1 1
      celery/task/base.py
  34. 1 1
      celery/task/chords.py
  35. 1 1
      celery/task/control.py
  36. 1 1
      celery/task/http.py
  37. 1 1
      celery/task/sets.py
  38. 1 1
      celery/utils/__init__.py
  39. 1 1
      celery/utils/compat.py
  40. 1 1
      celery/utils/encoding.py
  41. 1 1
      celery/utils/functional.py
  42. 1 1
      celery/utils/mail.py
  43. 1 1
      celery/utils/patch.py
  44. 1 1
      celery/utils/serialization.py
  45. 1 1
      celery/utils/term.py
  46. 1 1
      celery/utils/timer2.py
  47. 1 1
      celery/utils/timeutils.py
  48. 1 1
      celery/worker/__init__.py
  49. 1 1
      celery/worker/autoscale.py
  50. 1 1
      celery/worker/buckets.py
  51. 1 1
      celery/worker/consumer.py
  52. 1 1
      celery/worker/control.py
  53. 1 1
      celery/worker/heartbeat.py
  54. 1 1
      celery/worker/job.py
  55. 1 1
      celery/worker/mediator.py
  56. 1 1
      celery/worker/state.py
  57. 1 1
      docs/conf.py

+ 1 - 1
LICENSE

@@ -1,4 +1,4 @@
-Copyright (c) 2009-2011, Ask Solem & contributors.
+Copyright (c) 2009-2012, Ask Solem & contributors.
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without

+ 1 - 1
celery/__init__.py

@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 """Distributed Task Queue"""
-# :copyright: (c) 2009 - 2011 by Ask Solem.
+# :copyright: (c) 2009 - 2012 by Ask Solem.
 # :license:   BSD, see LICENSE for more details.
 
 from __future__ import absolute_import

+ 1 - 1
celery/abstract.py

@@ -5,7 +5,7 @@
 
     Implements components and boot-steps.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/app/__init__.py

@@ -5,7 +5,7 @@
 
     Celery Application.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/app/amqp.py

@@ -5,7 +5,7 @@
 
     AMQ related functionality.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/app/base.py

@@ -5,7 +5,7 @@
 
     Application Base Class.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/app/defaults.py

@@ -5,7 +5,7 @@
 
     Configuration introspection and defaults.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/app/task/__init__.py

@@ -5,7 +5,7 @@
 
     Tasks Implementation.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/beat.py

@@ -5,7 +5,7 @@
 
     The Celery periodic task scheduler.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/contrib/batches.py

@@ -36,7 +36,7 @@ Registering the click is done as follows:
     In the future we hope to add the ability to direct batching tasks
     to a channel with different QoS requirements than the task channel.
 
-:copyright: (c) 2009 - 2011 by Ask Solem.
+:copyright: (c) 2009 - 2012 by Ask Solem.
 :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/contrib/rdb.py

@@ -33,7 +33,7 @@ Inspired by http://snippets.dzone.com/posts/show/7248
     The debugger will try to find an available port starting from the
     base port.  The selected port will be logged by celeryd.
 
-:copyright: (c) 2009 - 2011 by Ask Solem.
+:copyright: (c) 2009 - 2012 by Ask Solem.
 :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/datastructures.py

@@ -5,7 +5,7 @@
 
     Custom types and data structures.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/decorators.py

@@ -8,7 +8,7 @@ and `celery.task.periodic_task` instead.
 
 The new decorators does not support magic keyword arguments.
 
-:copyright: (c) 2009 - 2011 by Ask Solem.
+:copyright: (c) 2009 - 2012 by Ask Solem.
 :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/events/__init__.py

@@ -7,7 +7,7 @@
     in the worker (and clients if :setting:`CELERY_SEND_TASK_SENT_EVENT`
     is enabled), used for monitoring purposes.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/events/cursesmon.py

@@ -5,7 +5,7 @@
 
     Graphical monitor of Celery events using curses.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/events/dumper.py

@@ -6,7 +6,7 @@
     THis is a simple program that dumps events to the console
     as they happen.  Think of it like a `tcpdump` for Celery events.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/events/snapshot.py

@@ -9,7 +9,7 @@
     implementation of this writing the snapshots to a database
     in :mod:`djcelery.snapshots` in the `django-celery` distribution.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/events/state.py

@@ -15,7 +15,7 @@
     take "pictures" of this state at regular intervals
     to e.g. store that in a database.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/exceptions.py

@@ -5,7 +5,7 @@
 
     This module contains Celery-specific exceptions.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/execute/trace.py

@@ -6,7 +6,7 @@
     This module defines how the task execution is traced:
     errors are recorded, handlers are applied and so on.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/loaders/__init__.py

@@ -6,7 +6,7 @@
     Loaders define how configuration is read, what happens
     when workers start, when tasks are executed and so on.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/loaders/app.py

@@ -5,7 +5,7 @@
 
     The default loader used with custom app instances.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/loaders/base.py

@@ -5,7 +5,7 @@
 
     Loader base class.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/loaders/default.py

@@ -5,7 +5,7 @@
 
     The default loader used when no custom app has been initialized.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/local.py

@@ -7,7 +7,7 @@
     needs to be loaded as soon as possible, and that
     shall not load any third party modules.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/platforms.py

@@ -6,7 +6,7 @@
     Utilities dealing with platform specifics: signals, daemonization,
     users, groups, and so on.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/registry.py

@@ -5,7 +5,7 @@
 
     Registry of available tasks.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/result.py

@@ -5,7 +5,7 @@
 
     Task results/state and groups of results.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/routes.py

@@ -6,7 +6,7 @@
     Contains utilities for working with task routes
     (:setting:`CELERY_ROUTES`).
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/schedules.py

@@ -6,7 +6,7 @@
     Schedules define the intervals at which periodic tasks
     should run.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/signals.py

@@ -5,7 +5,7 @@
 
     See :ref:`signals`.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/task/__init__.py

@@ -5,7 +5,7 @@
 
     Creating tasks, subtasks, sets and chords.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/task/base.py

@@ -5,7 +5,7 @@
 
     The task implementation has been moved to :mod:`celery.app.task`.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/task/chords.py

@@ -5,7 +5,7 @@
 
     Chords (task set callbacks).
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/task/control.py

@@ -6,7 +6,7 @@
     Client for worker remote control commands.
     Server implementation is in :mod:`celery.worker.control`.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/task/http.py

@@ -5,7 +5,7 @@
 
     Task webhooks implementation.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/task/sets.py

@@ -5,7 +5,7 @@
 
     Creating and applying groups of tasks.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/utils/__init__.py

@@ -5,7 +5,7 @@
 
     Utility functions.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/utils/compat.py

@@ -6,7 +6,7 @@
     Backward compatible implementations of features
     only available in newer Python versions.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/utils/encoding.py

@@ -7,7 +7,7 @@
     applications without crashing with the infamous :exc:`UnicodeDecodeError`
     exception.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/utils/functional.py

@@ -5,7 +5,7 @@
 
     Utilities for functions.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/utils/mail.py

@@ -5,7 +5,7 @@
 
     How task error emails are formatted and sent.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/utils/patch.py

@@ -5,7 +5,7 @@
 
     Monkey-patch to ensure loggers are process aware.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/utils/serialization.py

@@ -5,7 +5,7 @@
 
     Utilities for safely pickling exceptions.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/utils/term.py

@@ -5,7 +5,7 @@
 
     Terminals and colors.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/utils/timer2.py

@@ -5,7 +5,7 @@
 
     Scheduler for Python functions.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/utils/timeutils.py

@@ -5,7 +5,7 @@
 
     This module contains various utilities relating to dates and times.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/worker/__init__.py

@@ -5,7 +5,7 @@
 
     The worker.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/worker/autoscale.py

@@ -10,7 +10,7 @@
     The autoscale thread is only enabled if autoscale
     has been enabled on the command line.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/worker/buckets.py

@@ -11,7 +11,7 @@
     The :mod:`celery.worker.mediator` is then responsible
     for moving tasks from the ``ready_queue`` to the worker pool.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/worker/consumer.py

@@ -7,7 +7,7 @@ This module contains the component responsible for consuming messages
 from the broker, processing the messages and keeping the broker connections
 up and running.
 
-:copyright: (c) 2009 - 2011 by Ask Solem.
+:copyright: (c) 2009 - 2012 by Ask Solem.
 :license: BSD, see LICENSE for more details.
 
 

+ 1 - 1
celery/worker/control.py

@@ -5,7 +5,7 @@
 
     Remote control commands.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/worker/heartbeat.py

@@ -6,7 +6,7 @@
     This is the internal thread that sends heartbeat events
     at regular intervals.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/worker/job.py

@@ -6,7 +6,7 @@
     This module defines the :class:`Request` class,
     which specifies how tasks are executed.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/worker/mediator.py

@@ -12,7 +12,7 @@
     rate limits will also disable this machinery,
     and can improve performance.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
celery/worker/state.py

@@ -8,7 +8,7 @@
     This includes the currently active and reserved tasks,
     statistics, and revoked tasks.
 
-    :copyright: (c) 2009 - 2011 by Ask Solem.
+    :copyright: (c) 2009 - 2012 by Ask Solem.
     :license: BSD, see LICENSE for more details.
 
 """

+ 1 - 1
docs/conf.py

@@ -50,7 +50,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'Celery'
-copyright = u'2009-2011, Ask Solem & Contributors'
+copyright = u'2009-2012, Ask Solem & Contributors'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the