Testing another regex

This commit is contained in:
Théo DURR 2022-08-26 23:26:37 +02:00
parent 02047b62d7
commit 705dc56153
No known key found for this signature in database
GPG Key ID: 708858E9F7281E30
2 changed files with 1 additions and 5 deletions

View File

@ -19,7 +19,7 @@ jobs:
uses: technote-space/get-diff-action@v6
id: git-diff
with:
PATTERNS: /**/*.py
PATTERNS: +/**/*.py
- name: Set up python
if: steps.git-diff.outputs.diff

View File

@ -76,8 +76,6 @@ class Subscription(models.Model):
class Meta:
ordering = ["subscription_start"]
def clean(self):
try:
for s in (
@ -99,8 +97,6 @@ class Subscription(models.Model):
# TODO see SubscriptionForm's clean method
raise ValidationError(_("Subscription error"))
def save(self):
super(Subscription, self).save()
from counter.models import Customer