Revision 2cfbc784 lib/uidpool.py

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

  
4
# Copyright (C) 2010 Google Inc.
4
# Copyright (C) 2010, 2012 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
......
65 65
    if n_elements > 2:
66 66
      raise errors.OpPrereqError(
67 67
          "Invalid user-id range definition. Only one hyphen allowed: %s"
68
          % boundaries)
68
          % boundaries, errors.ECODE_INVAL)
69 69
    try:
70 70
      lower = int(boundaries[0])
71 71
    except (ValueError, TypeError), err:

Also available in: Unified diff