Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
S
scom
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
scom
Commits
a1fd1555
Kaydet (Commit)
a1fd1555
authored
Agu 23, 2019
tarafından
Suleyman Poyraz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Test sırasında unutulmuş runtime kontrol noktaları silindi.
üst
83aa0d26
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
script.c
scom/src/script.c
+0
-4
No files found.
scom/src/script.c
Dosyayı görüntüle @
a1fd1555
...
...
@@ -552,7 +552,6 @@ py_execute(const char *app, const char *model, const char *method, PyObject *py_
if
(
fn_script
==
NULL
)
oom
();
snprintf
(
fn_script
,
size
,
"%s/%s/%s.py"
,
config_dir_scripts
,
model
,
app
);
fn_script
[
size
-
1
]
=
0
;
printf
(
"Bura geldi
\n
"
);
// Check script existance
if
(
access
(
fn_script
,
R_OK
)
!=
0
)
{
log_error
(
"Unable to find script: %s
\n
"
,
fn_script
);
...
...
@@ -560,8 +559,6 @@ py_execute(const char *app, const char *model, const char *method, PyObject *py_
free
(
fn_script
);
return
-
1
;
}
printf
(
"Bura geldi 2
\n
"
);
// Load script file
char
*
code
=
load_file
(
fn_script
,
NULL
);
...
...
@@ -571,7 +568,6 @@ py_execute(const char *app, const char *model, const char *method, PyObject *py_
free
(
fn_script
);
return
-
1
;
}
printf
(
"Bura geldi 3
\n
"
);
// Compile script
py_code
=
Py_CompileString
(
code
,
fn_script
,
Py_file_input
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment