This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| print(""" | |
| Before running this script, log into your character on P99 and | |
| run this command (replacing "Charname" with your character name): | |
| /outputfile inventory Charname_inventory.txt | |
| Then edit the variables in the script for your personal configuration! | |
| Close EQ completely before running this script. | |
| After you've run this script: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function try_x_times () { | |
| command="${1:-echo 'No command given.'}" | |
| tries="${2:-10}" | |
| delay="${3:-2}" | |
| # Preserve bash -e mode | |
| if [[ $SHELLOPTS =~ 'errexit' ]]; then | |
| errexit="true" | |
| set +e | |
| else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| chardet===3.0.4 | |
| enum-compat===0.0.2 | |
| PasteDeploy===1.5.2 | |
| Routes===2.4.1 | |
| WebOb===1.7.4 | |
| pecan===1.3.2 | |
| oslo.concurrency===3.25.0 | |
| setproctitle===1.1.10 | |
| oslo.service===1.29.0 | |
| certifi===2018.1.18 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WARNING:root:starting up | |
| WARNING:root:Finished in: 0.46791100502 | |
| WARNING:root:Finished in: 0.539343118668 | |
| WARNING:root:Finished in: 0.534734010696 | |
| WARNING:root:Finished in: 0.587234973907 | |
| WARNING:root:Finished in: 0.639009952545 | |
| WARNING:root:Finished in: 0.650873184204 | |
| WARNING:root:Finished in: 0.671838998795 | |
| WARNING:root:Finished in: 0.228166103363 | |
| WARNING:root:Finished in: 0.726800918579 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WARNING:root:starting up | |
| WARNING:root:Finished in: 2.88073086739 | |
| WARNING:root:Finished in: 3.55514907837 | |
| WARNING:root:Finished in: 3.65813493729 | |
| WARNING:root:Finished in: 3.98635792732 | |
| WARNING:root:Finished in: 3.98547196388 | |
| WARNING:root:Finished in: 4.5666809082 | |
| WARNING:root:Finished in: 4.91106510162 | |
| WARNING:root:Finished in: 5.33235692978 | |
| WARNING:root:Finished in: 3.78140306473 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class MyClass(object): | |
| _myvar = None | |
| class MyOtherClass(object): | |
| pass | |
| a = MyClass() | |
| b = MyOtherClass() | |
| a._myvar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @contextlib.contextmanager | |
| def get_lock_session(): | |
| """Context manager for using a locking (not auto-commit) session.""" | |
| lock_session = get_session(autocommit=False) | |
| try: | |
| yield | |
| lock_session.commit() | |
| except Exception: | |
| with excutils.save_and_reraise_exception(): | |
| lock_session.rollback() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def _send_pool_to_handler(self, session, db_pool, listener_id): | |
| try: | |
| LOG.info(_LI("Sending Creation of Pool %s to handler"), | |
| db_pool.id) | |
| self.handler.create(db_pool) | |
| except Exception: | |
| with excutils.save_and_reraise_exception(reraise=False): | |
| lock_session = db_api.get_session(autocommit=False) | |
| try: | |
| self._reset_lb_and_listener_statuses( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| doc/source/guides/operator-maintenance.rst:112: D000 Unexpected indentation. | |
| doc/source/guides/operator-maintenance.rst:121: D000 Bullet list ends without a blank line; unexpected unindent. | |
| doc/source/guides/operator-maintenance.rst:124: D000 Bullet list ends without a blank line; unexpected unindent. | |
| doc/source/guides/operator-maintenance.rst:241: D000 Bullet list ends without a blank line; unexpected unindent. | |
| doc/source/guides/operator-maintenance.rst:251: D000 Bullet list ends without a blank line; unexpected unindent. | |
| doc/source/guides/operator-maintenance.rst:269: D000 Bullet list ends without a blank line; unexpected unindent. | |
| doc/source/guides/operator-maintenance.rst:273: D000 Bullet list ends without a blank line; unexpected unindent. | |
| doc/source/guides/operator-maintenance.rst:278: D000 Bullet list ends without a blank line; unexpected unindent. | |
| doc/source/guides/operator-maintenance.rst:282: D000 Bullet list ends without a blank line; unexpected unindent. | |
| doc/source/guides/operator-maintenance.rst: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| lock_session = db_api.get_session(autocommit=False) | |
| print("Initial: {}".format(lock_session.query(db_models.LoadBalancer).all())) | |
| self.repos.create_load_balancer_and_vip(lock_session, lb_dict, vip_dict) | |
| print("Create 1: {}".format(lock_session.query(db_models.LoadBalancer).all())) | |
| lock_session.rollback() | |
| print("Rollback: {}".format(lock_session.query(db_models.LoadBalancer).all())) | |
| self.repos.create_load_balancer_and_vip(lock_session, lb_dict, vip_dict) | |
| print("Create 2: {}".format(lock_session.query(db_models.LoadBalancer).all())) | |
| lock_session.rollback() | |
| print("Rollback: {}".format(lock_session.query(db_models.LoadBalancer).all())) |
NewerOlder