Revision d88ba587 kamaki/clients/pithos_rest_api.py

b/kamaki/clients/pithos_rest_api.py
60 60
        :returns: ConnectionResponse
61 61
        """
62 62

  
63
        self.assert_account()
63
        self._assert_account()
64 64
        path = path4url(self.account)
65 65

  
66 66
        self.set_param('until', until, iff=until is not None)
......
109 109
        :returns: ConnectionResponse
110 110
        """
111 111

  
112
        self.assert_account()
112
        self._assert_account()
113 113

  
114 114
        self.set_param('format', format, iff=format is not None)
115 115
        self.set_param('limit', limit, iff=limit is not None)
......
155 155
        :returns: ConnectionResponse
156 156
        """
157 157

  
158
        self.assert_account()
158
        self._assert_account()
159 159

  
160 160
        self.set_param('update', iff=update)
161 161

  
......
195 195
        :returns: ConnectionResponse
196 196
        """
197 197

  
198
        self.assert_container()
198
        self._assert_container()
199 199

  
200 200
        self.set_param('until', until, iff=until is not None)
201 201

  
......
260 260
        :returns: ConnectionResponse
261 261
        """
262 262

  
263
        self.assert_container()
263
        self._assert_container()
264 264

  
265 265
        self.set_param('format', format, iff=format is not None)
266 266
        self.set_param('limit', limit, iff=limit is not None)
......
302 302

  
303 303
        :returns: ConnectionResponse
304 304
        """
305
        self.assert_container()
305
        self._assert_container()
306 306

  
307 307
        if metadata is not None:
308 308
            for metaname, metaval in metadata.items():
......
350 350

  
351 351
        :returns: ConnectionResponse
352 352
        """
353
        self.assert_container()
353
        self._assert_container()
354 354

  
355 355
        self.set_param('format', format, iff=format is not None)
356 356
        self.set_param('update', iff=update)
......
379 379
        :returns: ConnectionResponse
380 380
        """
381 381

  
382
        self.assert_container()
382
        self._assert_container()
383 383

  
384 384
        self.set_param('until', until, iff=until is not None)
385 385
        self.set_param('delimiter', delimiter, iff=delimiter is not None)
......
419 419
        :returns: ConnectionResponse
420 420
        """
421 421

  
422
        self.assert_container()
422
        self._assert_container()
423 423

  
424 424
        self.set_param('version', version, iff=version is not None)
425 425

  
......
475 475
        :returns: ConnectionResponse
476 476
        """
477 477

  
478
        self.assert_container()
478
        self._assert_container()
479 479

  
480 480
        self.set_param('format', format, iff=format is not None)
481 481
        self.set_param('version', version, iff=version is not None)
......
572 572
        :returns: ConnectionResponse
573 573
        """
574 574

  
575
        self.assert_container()
575
        self._assert_container()
576 576

  
577 577
        self.set_param('format', format, iff=format is not None)
578 578
        self.set_param('hashmap', hashmap, iff=hashmap)
......
673 673
        :returns: ConnectionResponse
674 674
        """
675 675

  
676
        self.assert_container()
676
        self._assert_container()
677 677

  
678 678
        self.set_param('format', format, iff=format is not None)
679 679
        self.set_param('ignore_content_type', iff=ignore_content_type)
......
764 764
        :returns: ConnectionResponse
765 765
        """
766 766

  
767
        self.assert_container()
767
        self._assert_container()
768 768

  
769 769
        self.set_param('format', format, iff=format is not None)
770 770
        self.set_param('ignore_content_type', iff=ignore_content_type)
......
869 869
        :returns: ConnectionResponse
870 870
        """
871 871

  
872
        self.assert_container()
872
        self._assert_container()
873 873

  
874 874
        self.set_param('format', format, iff=format is not None)
875 875
        self.set_param('update', iff=update)
......
921 921

  
922 922
        :returns: ConnectionResponse
923 923
        """
924
        self.assert_container()
924
        self._assert_container()
925 925

  
926 926
        self.set_param('until', until, iff=until is not None)
927 927
        self.set_param('delimiter', delimiter, iff=delimiter is not None)

Also available in: Unified diff