Skip to content

Commit

Permalink
release commit
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Aug 3, 2024
1 parent bd731ef commit 4072b67
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions profiwiki/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@author: wf
"""

import tempfile

from mwdocker.docker import DockerContainer
Expand Down
1 change: 1 addition & 0 deletions profiwiki/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@author: wf
"""

import re


Expand Down
1 change: 1 addition & 0 deletions profiwiki/profiwiki_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@author: wf
"""

# from pathlib import Path
import sys
import traceback
Expand Down
9 changes: 6 additions & 3 deletions profiwiki/profiwiki_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@author: wf
"""

import datetime
import json
import os
Expand Down Expand Up @@ -45,7 +46,7 @@ def __init__(
self.config.sql_port = port - 1
self.config.port = port
self.config.versions = [mw_version]
self.config.version=mw_version
self.config.version = mw_version
self.config.container_base_name = "pw"
self.config.extensionNameList = [
"Admin Links",
Expand All @@ -68,7 +69,7 @@ def __init__(
"SyntaxHighlight",
"Variables",
"UserFunctions",
"YouTube"
"YouTube",
]
self.config.logo = "https://wiki.bitplan.com/images/wiki/thumb/6/63/Profiwikiicon.png/96px-Profiwikiicon.png"
self.config.__post_init__()
Expand Down Expand Up @@ -173,7 +174,9 @@ def getMwApp(self, withGenerate: bool = True):
"""
mwCluster = self.getMwCluster(withGenerate)
if not self.config.version in mwCluster.apps:
raise Exception(f"Mediawiki version {self.config.version} missing {mwCluster.apps.keys()}")
raise Exception(
f"Mediawiki version {self.config.version} missing {mwCluster.apps.keys()}"
)
mwApp = mwCluster.apps[self.config.version]
return mwApp

Expand Down
1 change: 1 addition & 0 deletions profiwiki/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@author: wf
"""

import profiwiki


Expand Down
1 change: 1 addition & 0 deletions tests/basetest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@author: wf
"""

import getpass
import time
from unittest import TestCase
Expand Down
1 change: 1 addition & 0 deletions tests/test_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@author: wf
"""

import tempfile

from profiwiki.patch import Patch
Expand Down
1 change: 1 addition & 0 deletions tests/test_profiwiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@author: wf
"""

import json
import os
from argparse import ArgumentParser
Expand Down

0 comments on commit 4072b67

Please sign in to comment.