fix: typo
This commit is contained in:
		
							parent
							
								
									934343ea7e
								
							
						
					
					
						commit
						0e8c99b1d2
					
				|  | @ -15,7 +15,7 @@ source env/Scripts/activate # each time when you need this venv | ||||||
| 
 | 
 | ||||||
| ```bash | ```bash | ||||||
| pip3 install -e . | pip3 install -e . | ||||||
| cp .env.exmaple .env && vi .env # configure environment | cp .env.example .env && vi .env # configure environment | ||||||
| joint-teapot --help | joint-teapot --help | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -16,7 +16,7 @@ def for_all_methods( | ||||||
| ) -> Callable[[_T], _T]: | ) -> Callable[[_T], _T]: | ||||||
|     @functools.wraps(decorator) |     @functools.wraps(decorator) | ||||||
|     def decorate(cls: Any) -> Any: |     def decorate(cls: Any) -> Any: | ||||||
|         for attr in cls.__dict__:  # there's propably a better way to do this |         for attr in cls.__dict__:  # there's probably a better way to do this | ||||||
|             if callable(getattr(cls, attr)): |             if callable(getattr(cls, attr)): | ||||||
|                 setattr(cls, attr, decorator(getattr(cls, attr))) |                 setattr(cls, attr, decorator(getattr(cls, attr))) | ||||||
|         return cls |         return cls | ||||||
|  |  | ||||||
|  | @ -79,7 +79,7 @@ class Mattermost: | ||||||
|                 logger.info(f"Added member {member} to channel {group_name}") |                 logger.info(f"Added member {member} to channel {group_name}") | ||||||
| 
 | 
 | ||||||
|     def create_webhooks_for_repos(self, repos: List[str], gitea: Gitea) -> None: |     def create_webhooks_for_repos(self, repos: List[str], gitea: Gitea) -> None: | ||||||
|         # one group corresponds to one repo so these concepts can be used interchangably |         # one group corresponds to one repo so these concepts can be used interchangeably | ||||||
|         for repo in repos: |         for repo in repos: | ||||||
|             logger.info(f"Creating webhooks for repo {gitea.org_name}/{repo}") |             logger.info(f"Creating webhooks for repo {gitea.org_name}/{repo}") | ||||||
|             try: |             try: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user