Revision ab9e48d1 lib/rapi/rlib2.py
b/lib/rapi/rlib2.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, 2013 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 |
... | ... | |
675 | 675 |
"""Returns a list of all networks. |
676 | 676 |
|
677 | 677 |
""" |
678 |
client = self.GetClient() |
|
678 |
client = self.GetClient(query=True)
|
|
679 | 679 |
|
680 | 680 |
if self.useBulk(): |
681 | 681 |
bulkdata = client.QueryNetworks([], NET_FIELDS, False) |
... | ... | |
698 | 698 |
|
699 | 699 |
""" |
700 | 700 |
network_name = self.items[0] |
701 |
client = self.GetClient() |
|
701 |
client = self.GetClient(query=True)
|
|
702 | 702 |
|
703 | 703 |
result = baserlib.HandleItemQueryErrors(client.QueryNetworks, |
704 | 704 |
names=[network_name], |
Also available in: Unified diff