Revision 95a4e33f

b/lib/jqueue.py
1 1
#
2 2
#
3 3

  
4
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Google Inc.
4
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2014 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
2043 2043
    @return: either None or the job object
2044 2044

  
2045 2045
    """
2046
    assert isinstance(job_id, int), "Job queue: Supplied job id is not an int!"
2047

  
2046 2048
    job = self._memcache.get(job_id, None)
2047 2049
    if job:
2048 2050
      logging.debug("Found job %s in memcache", job_id)

Also available in: Unified diff