Revision 2cfbc784 lib/qlang.py

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

  
4
# Copyright (C) 2010, 2011 Google Inc.
4
# Copyright (C) 2010, 2011, 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
......
327 327
      (filter_text, ) = args
328 328
    except (TypeError, ValueError):
329 329
      raise errors.OpPrereqError("Exactly one argument must be given as a"
330
                                 " filter")
330
                                 " filter", errors.ECODE_INVAL)
331 331

  
332 332
    result = ParseFilter(filter_text)
333 333
  elif args:

Also available in: Unified diff