Skip to content

Commit

Permalink
Rename generator2 to python_generator
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 623096173
Change-Id: I6af48f358bbba33707a379960c6094af0fcc4caa
  • Loading branch information
okunz authored and Copybara-Service committed Apr 9, 2024
1 parent fd928c8 commit aa6ed45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions sandboxed_api/tools/python_generator/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

load("//sandboxed_api/bazel:build_defs.bzl", "sapi_platform_copts")
load("//sandboxed_api/bazel:sapi.bzl", "sapi_library")

licenses(["notice"])

py_library(
Expand Down
3 changes: 2 additions & 1 deletion sandboxed_api/tools/python_generator/sapi_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
from absl import app
from absl import flags
from absl import logging

try:
from com_google_sandboxed_api.sandboxed_api.tools.generator2 import code
from com_google_sandboxed_api.sandboxed_api.tools.python_generator import code
except:
import code

Expand Down

0 comments on commit aa6ed45

Please sign in to comment.