Changeset 65980 in vbox for trunk/src/VBox/ValidationKit/testmanager/core/webservergluebase.py
- Timestamp:
- Mar 7, 2017 1:00:36 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 113806
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/core/webservergluebase.py
r65032 r65980 260 260 if self._sBodyType is None: 261 261 self._sBodyType = 'html'; 262 elif self._sBodyType is not'html':262 elif self._sBodyType != 'html': 263 263 raise WebServerGlueException('Cannot use writeParameter when body type is "%s"' % (self._sBodyType, )); 264 264 … … 277 277 if self._sBodyType is None: 278 278 self._sBodyType = 'html'; 279 elif self._sBodyType is not'html':279 elif self._sBodyType != 'html': 280 280 raise WebServerGlueException('Cannot use writeParameter when body type is "%s"' % (self._sBodyType, )); 281 281 … … 304 304 self._sBodyType = 'form'; 305 305 306 elif self._sBodyType is not'form':306 elif self._sBodyType != 'form': 307 307 raise WebServerGlueException('Cannot use writeParams when body type is "%s"' % (self._sBodyType, )); 308 308
Note:
See TracChangeset
for help on using the changeset viewer.