hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
c860070ca306998937247a9c8f22bac1ad30100b | diff --git a/backbone.js b/backbone.js
index <HASH>..<HASH> 100644
--- a/backbone.js
+++ b/backbone.js
@@ -163,11 +163,10 @@
this.attributes = {};
this._escapedAttributes = {};
this.cid = _.uniqueId('c');
- this._changed = {};
if (!this.set(attributes, {silent: true})) {
throw new Error("C... | refactor `_changed` to prevent confusion | jashkenas_backbone | train | js |
06c28bc5bd5b59a25ed02113b76fa56d20c52e7c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
setup(name='instana',
- version='0.5.2',
+ version='0.5.3',
download_url='https://github.com/instana/python-sensor',
url='https://www.instana... | Bump package version to <I> | instana_python-sensor | train | py |
a9c79d16f47cb2d60208de41993d63848cd85640 | diff --git a/packages/idyll-layouts/src/blog/styles.js b/packages/idyll-layouts/src/blog/styles.js
index <HASH>..<HASH> 100644
--- a/packages/idyll-layouts/src/blog/styles.js
+++ b/packages/idyll-layouts/src/blog/styles.js
@@ -67,6 +67,10 @@ input {
position: sticky;
}
+.idyll-scroll-graphic img {
+ max-height: ... | make graphic images scaled to view height | idyll-lang_idyll | train | js,js |
14141ae48ee9c3e15a9eafd0684af241cb98f2dc | diff --git a/src/Services/ContactService.php b/src/Services/ContactService.php
index <HASH>..<HASH> 100644
--- a/src/Services/ContactService.php
+++ b/src/Services/ContactService.php
@@ -51,7 +51,7 @@ final class ContactService extends Service
* @param string $contactId
* @param array|ArrayObject $params
... | DELETE support in Contacts (#<I>)
* GWY-<I> 2FA functionality in user profile module
* renaming according to @slavacodedev note.
* DELETE support for contacts | Rebilly_rebilly-php | train | php |
82a4b4977a7993644efcc097978034884288842c | diff --git a/src/pyforce/marshall.py b/src/pyforce/marshall.py
index <HASH>..<HASH> 100644
--- a/src/pyforce/marshall.py
+++ b/src/pyforce/marshall.py
@@ -15,7 +15,7 @@ datetimeregx = re.compile(
doubleregx = re.compile(r'^(\d)+(\.\d+)?$')
stringtypes = ('string', 'id', 'phone', 'url', 'email',
- 'an... | Some recently added code did not follow pep8 standard. Fixed | alanjcastonguay_pyforce | train | py |
f522bf51be82f4aa965f93b75e5b0f113cf81f0d | diff --git a/mod/quiz/report/reportlib.php b/mod/quiz/report/reportlib.php
index <HASH>..<HASH> 100644
--- a/mod/quiz/report/reportlib.php
+++ b/mod/quiz/report/reportlib.php
@@ -163,12 +163,13 @@ function quiz_report_qm_filter_subselect($quiz, $useridsql = 'u.id'){
}
function quiz_report_grade_bands($bandwidth, $b... | MDL-<I> "tables have been hardcoded with a prefix of "mdl" - causing an error." Ooops! | moodle_moodle | train | php |
95a682918f1b8a00724167c9c478cab48a536e57 | diff --git a/demos/node/demo.js b/demos/node/demo.js
index <HASH>..<HASH> 100644
--- a/demos/node/demo.js
+++ b/demos/node/demo.js
@@ -101,8 +101,9 @@ else {
// EXAMPLE 2: Use an inline callback function
pptx.writeFile(exportName+'-ex2')
- .catch(ex => { console.log('ERROR: '+err) })
- .then(fileName => { conso... | node demo runs now (no ppt yet though) | gitbrent_PptxGenJS | train | js |
45572a28635e63559dcc3b60c30c6ce09acb0a90 | diff --git a/remote.go b/remote.go
index <HASH>..<HASH> 100644
--- a/remote.go
+++ b/remote.go
@@ -51,7 +51,7 @@ func (r *Remote) Connect() error {
var err error
r.fetchSession, err = r.client.NewFetchPackSession(r.endpoint)
if err != nil {
- return nil
+ return err
}
return r.retrieveAdvertisedReferences... | remote: fix Connect, returned nil error on failure. (#<I>) | src-d_go-git | train | go,go |
5faaa5957abee743e2bbf38341e32bcc9ae1f059 | diff --git a/tests/Doctrine/MongoDB/Tests/CollectionTest.php b/tests/Doctrine/MongoDB/Tests/CollectionTest.php
index <HASH>..<HASH> 100644
--- a/tests/Doctrine/MongoDB/Tests/CollectionTest.php
+++ b/tests/Doctrine/MongoDB/Tests/CollectionTest.php
@@ -312,7 +312,7 @@ class CollectionTest extends \PHPUnit_Framework_TestC... | Use FQCN in code coverage annotation | doctrine_mongodb | train | php |
7f52e0f0d1731173d4929ae9d16aa83944ae0433 | diff --git a/lib/filepicker/rails/form_builder.rb b/lib/filepicker/rails/form_builder.rb
index <HASH>..<HASH> 100644
--- a/lib/filepicker/rails/form_builder.rb
+++ b/lib/filepicker/rails/form_builder.rb
@@ -10,7 +10,8 @@ module Filepicker
input_options.merge!(secure_filepicker) unless input_options['data-fp-po... | fix for uninitialized constant ActionView::Helpers::Tags issue #<I> | filestack_filestack-rails | train | rb |
e688603b8d04100f2b17206396f263e00a451152 | diff --git a/newsletter-bundle/src/Resources/contao/dca/tl_newsletter.php b/newsletter-bundle/src/Resources/contao/dca/tl_newsletter.php
index <HASH>..<HASH> 100644
--- a/newsletter-bundle/src/Resources/contao/dca/tl_newsletter.php
+++ b/newsletter-bundle/src/Resources/contao/dca/tl_newsletter.php
@@ -208,7 +208,7 @@ $... | [Newsletter] Automatically scan for fileTree fields during the version <I> update | contao_contao | train | php |
5459dcc9f8b53224a5a62aede8c93665a61d81ef | diff --git a/src/main/java/org/jfrog/hudson/maven3/extractor/MavenExtractorEnvironment.java b/src/main/java/org/jfrog/hudson/maven3/extractor/MavenExtractorEnvironment.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jfrog/hudson/maven3/extractor/MavenExtractorEnvironment.java
+++ b/src/main/java/org/jfrog/huds... | HAP-<I> - Jenkins plugin: Environment property for Release Tag | jenkinsci_artifactory-plugin | train | java |
248b998cd54a86c100d2ae388ac0d5b4e5657694 | diff --git a/tests/test-timber-image-multisite.php b/tests/test-timber-image-multisite.php
index <HASH>..<HASH> 100644
--- a/tests/test-timber-image-multisite.php
+++ b/tests/test-timber-image-multisite.php
@@ -23,6 +23,10 @@
}
function testSubDomainImageLocaion() {
+ if ( !is_multisite() ) {
+ $this->mark... | ref #<I> -- Added multisite tests for diff't image handling situations | timber_timber | train | php |
4b55604116a781c82bbc40f0929bc26dd97da675 | diff --git a/includes/mappers/class.matches_mapper.php b/includes/mappers/class.matches_mapper.php
index <HASH>..<HASH> 100644
--- a/includes/mappers/class.matches_mapper.php
+++ b/includes/mappers/class.matches_mapper.php
@@ -198,7 +198,7 @@ abstract class matches_mapper {
*/
public function set_matches_req... | #<I> Update GetMatchHistory limit from <I> to <I> | kronusme_dota2-api | train | php |
e6a3f69d61a49a5d7ae2b053cdd79289e11a8a73 | diff --git a/sundial/fields.py b/sundial/fields.py
index <HASH>..<HASH> 100644
--- a/sundial/fields.py
+++ b/sundial/fields.py
@@ -19,7 +19,7 @@ class TimezoneField(with_metaclass(TimezoneFieldBase, models.CharField)):
kwargs.setdefault('max_length', self.default_max_length)
super(TimezoneField, self)... | Fix compatibility issues in Django <I>. | charettes_django-sundial | train | py |
80a67c99d6c464aa16a83453bbbea619d26c7309 | diff --git a/app/code/community/Webcomm/BootstrapNavigation/Block/Page/Html/Topmenu.php b/app/code/community/Webcomm/BootstrapNavigation/Block/Page/Html/Topmenu.php
index <HASH>..<HASH> 100644
--- a/app/code/community/Webcomm/BootstrapNavigation/Block/Page/Html/Topmenu.php
+++ b/app/code/community/Webcomm/BootstrapNavi... | Added translation for menue suffix | webcomm_magento-boilerplate | train | php |
74abd750c5f0061d5249de7e2cca40b00a61c6d6 | diff --git a/Server/Python/src/dbs/business/DBSBlockInsert.py b/Server/Python/src/dbs/business/DBSBlockInsert.py
index <HASH>..<HASH> 100644
--- a/Server/Python/src/dbs/business/DBSBlockInsert.py
+++ b/Server/Python/src/dbs/business/DBSBlockInsert.py
@@ -387,8 +387,13 @@ class DBSBlockInsert :
conn = self.dbi.... | Catch exception when dataset is missing during dataset insertion. YG
From: yuyi <<EMAIL>>
git-svn-id: svn+ssh://svn.cern.ch/reps/CMSDMWM/DBS/trunk@<I> <I>e-<I>-<I>b1-a<I>-d<I>a<I>b | dmwm_DBS | train | py |
e9456c2d477dbab45c97b4381a37f7daceab0f2e | diff --git a/tests/TestCase/ORM/QueryTest.php b/tests/TestCase/ORM/QueryTest.php
index <HASH>..<HASH> 100644
--- a/tests/TestCase/ORM/QueryTest.php
+++ b/tests/TestCase/ORM/QueryTest.php
@@ -1973,4 +1973,18 @@ class QueryTest extends TestCase {
$this->assertNull($article['articles_tag']);
}
+
+/**
+ * Tests that... | Adding tests for serializing a query to json | cakephp_cakephp | train | php |
58ff4ac8dbbbd5bb52e825c538621ec422793971 | diff --git a/lib/generators/sorcery/helpers.rb b/lib/generators/sorcery/helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/generators/sorcery/helpers.rb
+++ b/lib/generators/sorcery/helpers.rb
@@ -13,7 +13,7 @@ module Sorcery
end
def tableized_model_class
- options[:model] ? options[:model].gsub(/:... | Fix default table name being incorrect in migration generator (#<I>) | Sorcery_sorcery | train | rb |
f2fa23431034c4d33c690120a12e10594e562e45 | diff --git a/zengine/views/crud.py b/zengine/views/crud.py
index <HASH>..<HASH> 100644
--- a/zengine/views/crud.py
+++ b/zengine/views/crud.py
@@ -329,15 +329,15 @@ class CrudView(BaseView):
:param query:
:return: query
"""
- filters = self.Meta.allow_filters and self.input.get('filter... | refactored _apply_list_filters method and added date filter support | zetaops_zengine | train | py |
5f82207491618b261310a9975614e7cf29e11ecb | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,8 +11,11 @@ ez_setup.use_setuptools()
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
-README = open(os.path.join(here, 'README.rst')).read()
-NEWS = open(os.path.join(here... | Ensure file handles are closed using with statement | brentp_toolshed | train | py |
1ae52dab8357f1e5780e1e07109e3e287598365a | diff --git a/rkt/stage1hash.go b/rkt/stage1hash.go
index <HASH>..<HASH> 100644
--- a/rkt/stage1hash.go
+++ b/rkt/stage1hash.go
@@ -82,7 +82,7 @@ func getStage1Hash(s *store.Store, cmd *cobra.Command) (*types.Hash, error) {
imageActionData: imageActionData{
s: s,
},
- storeOnly: true,
+ storeOnly: false,
... | rkt: stage1hash: make storeOnly false by default
This was causing URL values in `--stage1-image` to fail. Now we set it
to true only when needed. | rkt_rkt | train | go |
ed3b712483696c73b8202ef51cc191b3c4493f35 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -183,12 +183,14 @@ function handleApp(appHost){
return loader.loadModule(configModuleId)
.then(m => {
aurelia = new Aurelia(loader);
+ aurelia.host = appHost;
return configu... | fix(all): root should default to aurelia-app host when not specified
Fixes #5 | aurelia_bootstrapper | train | js |
afbd998247742754fd8538721cb900c06a18912c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ setup(
keywords='graph neo4j py2neo ORM',
tests_require=['nose==1.1.2'],
test_suite='nose.collector',
- install_requires=['lucene-querybuilder==0.1.6', 'py2neo==1.4.6', 'pytz==2012j'],
+ ins... | bump py2neo version | neo4j-contrib_neomodel | train | py |
74a563189651ab78240f3b3ee68d7723c48bf390 | diff --git a/m2r.py b/m2r.py
index <HASH>..<HASH> 100644
--- a/m2r.py
+++ b/m2r.py
@@ -228,7 +228,7 @@ class RestRenderer(mistune.Renderer):
elif lang:
first_line = '\n.. code-block:: {}\n\n'.format(lang)
elif _is_sphinx:
- first_line = '\n.. code-block:: guess\n\n'
+ ... | Use reST literal block for Sphinx code block
This lets language be managed by Sphinx config option 'highlight_language'. | miyakogi_m2r | train | py |
32e295b65303eb31b840343fe59f6353ed0d6f66 | diff --git a/html/utilities/validation/isValidMonetary.js b/html/utilities/validation/isValidMonetary.js
index <HASH>..<HASH> 100644
--- a/html/utilities/validation/isValidMonetary.js
+++ b/html/utilities/validation/isValidMonetary.js
@@ -1,4 +1,4 @@
-let isValidMonetary = (value) => {
+const isValidMonetary = (value) ... | Updated isValidMonetary to be an arrow function | sparkdesignsystem_spark-design-system | train | js |
ff35f2f2be438e6dd1cbc3870dcb3d40979f3613 | diff --git a/ftpd.rb b/ftpd.rb
index <HASH>..<HASH> 100644
--- a/ftpd.rb
+++ b/ftpd.rb
@@ -301,8 +301,8 @@ class FTPServer < EM::Protocols::LineAndTextProtocol
puts "connecting to client #{host} on #{port}"
@datasocket = FTPActiveDataSocket.open(host, port)
- puts "Opened passive connection at #{host}:#{... | log message fix: PORT starts an active session, not a passive one | yob_em-ftpd | train | rb |
8f671e94e3edde8d022654ce4e612af3e85855df | diff --git a/app/src/Bolt/Application.php b/app/src/Bolt/Application.php
index <HASH>..<HASH> 100644
--- a/app/src/Bolt/Application.php
+++ b/app/src/Bolt/Application.php
@@ -35,8 +35,8 @@ class Application extends BaseApplication
{
public function __construct(array $values = array())
{
- $values['bol... | Bumping version number to "<I> prerelease" | bolt_bolt | train | php |
c9edd41710aff78615e75983344123929df40a53 | diff --git a/lib/vestal_versions/versions.rb b/lib/vestal_versions/versions.rb
index <HASH>..<HASH> 100644
--- a/lib/vestal_versions/versions.rb
+++ b/lib/vestal_versions/versions.rb
@@ -3,6 +3,7 @@ module VestalVersions
def between(from, to)
from_number, to_number = number_at(from), number_at(to)
re... | Just cleaned up the versions association methods. | laserlemon_vestal_versions | train | rb |
29f10f277179f89082e0e9bd43bb942b7d04da9e | diff --git a/telethon/telegram_client.py b/telethon/telegram_client.py
index <HASH>..<HASH> 100644
--- a/telethon/telegram_client.py
+++ b/telethon/telegram_client.py
@@ -1281,7 +1281,8 @@ class TelegramClient(TelegramBareClient):
def send_voice_note(self, *args, **kwargs):
"""Wrapper method around .sen... | Fix named arguments after kwargs (#<I>)
In Python3, you're unable to send named parameters after **kwargs
* Use single quotes | LonamiWebs_Telethon | train | py |
63605e1f5325291200293785765eaa0306a8f024 | diff --git a/locationpicker.jquery.js b/locationpicker.jquery.js
index <HASH>..<HASH> 100644
--- a/locationpicker.jquery.js
+++ b/locationpicker.jquery.js
@@ -146,16 +146,16 @@
if (!inputBinding) return;
var currentLocation = GmUtility.locationFromLatLng(gmapContext.location);
if (inputBindin... | Update: fire change event on bound input changes | Logicify_jquery-locationpicker-plugin | train | js |
5f7ad743cb53870275290b375082ee9ea6080e99 | diff --git a/src/main/java/com/lazerycode/jmeter/JMeterMojo.java b/src/main/java/com/lazerycode/jmeter/JMeterMojo.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/lazerycode/jmeter/JMeterMojo.java
+++ b/src/main/java/com/lazerycode/jmeter/JMeterMojo.java
@@ -42,6 +42,11 @@ public class JMeterMojo extends JMeter... | clear system property "org.apache.commons.logging.Log" at the end of the test run | jmeter-maven-plugin_jmeter-maven-plugin | train | java |
3a623f8d51df1f35c750babd393fa87ec25040f9 | diff --git a/src/main/java/com/google/maps/model/DirectionsStep.java b/src/main/java/com/google/maps/model/DirectionsStep.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/google/maps/model/DirectionsStep.java
+++ b/src/main/java/com/google/maps/model/DirectionsStep.java
@@ -44,6 +44,7 @@ public class Directions... | Adding @Deprecated since feature is not officially documented. | googlemaps_google-maps-services-java | train | java |
4f92a108472845afe0dc1b604b59003b3b14dc8b | diff --git a/lib/slanger/channel.rb b/lib/slanger/channel.rb
index <HASH>..<HASH> 100644
--- a/lib/slanger/channel.rb
+++ b/lib/slanger/channel.rb
@@ -16,8 +16,9 @@ module Slanger
def_delegators :channel, :subscribe, :unsubscribe, :push
- def self.from channel
- channel[/^presence-/] ? PresenceChannel ... | moved more logic into Channel class from Redis | stevegraham_slanger | train | rb,rb |
f8e8c85ba7b095c5941af629e6b93743f1f3efd2 | diff --git a/src/Model/Behavior/ProfferBehavior.php b/src/Model/Behavior/ProfferBehavior.php
index <HASH>..<HASH> 100644
--- a/src/Model/Behavior/ProfferBehavior.php
+++ b/src/Model/Behavior/ProfferBehavior.php
@@ -118,6 +118,8 @@ class ProfferBehavior extends Behavior
$path->deleteFiles($path->getFo... | Resolves #<I> | davidyell_CakePHP3-Proffer | train | php |
2c8b72de8d2b9e49a09a0c0e55a4a50c79f1e0d7 | diff --git a/src/Options.php b/src/Options.php
index <HASH>..<HASH> 100644
--- a/src/Options.php
+++ b/src/Options.php
@@ -34,6 +34,7 @@ class Options
public function __construct()
{
$this->headers = [];
+ $this->useComplexClientType();
}
/** | Defined default client type into constructor | g4code_gateway | train | php |
34d640ed3332ef5ea31b8edd43d4df770b47c1c9 | diff --git a/lib/AbstractObject.php b/lib/AbstractObject.php
index <HASH>..<HASH> 100644
--- a/lib/AbstractObject.php
+++ b/lib/AbstractObject.php
@@ -22,6 +22,7 @@ abstract class AbstractObject {
public $elements = array ();
public $default_exception='BaseException';
+ public $settings=array('extension'=>'.ht... | Improve system-wide support for exception() | atk4_atk4 | train | php |
90e95cf8d413db454cab7d906fc889120a0ce502 | diff --git a/opal/corelib/array.rb b/opal/corelib/array.rb
index <HASH>..<HASH> 100644
--- a/opal/corelib/array.rb
+++ b/opal/corelib/array.rb
@@ -440,6 +440,14 @@ class Array < `Array`
end
end
+ def any?
+ if empty?
+ false
+ else
+ super
+ end
+ end
+
def assoc(object)
%x{
... | Optimize Array#any? for an empty array (#<I>)
If an array is empty, we know `any?` cannot possibly return false.
Otherwise, fall back to the `Enumerable` implementation of the method. | opal_opal | train | rb |
ee05582d1e5579a52754f47ba8c6d6f8fabe0f45 | diff --git a/binstar_client/inspect_package/conda.py b/binstar_client/inspect_package/conda.py
index <HASH>..<HASH> 100644
--- a/binstar_client/inspect_package/conda.py
+++ b/binstar_client/inspect_package/conda.py
@@ -127,9 +127,15 @@ def inspect_conda_package(filename, fileobj, *args, **kwargs):
package_data =... | reverted some fields for backward compatibility | Anaconda-Platform_anaconda-client | train | py |
b89a734c5d16328e21306bccb1fd454f257d9f7c | diff --git a/packages/ui-babel-preset/lib/index.js b/packages/ui-babel-preset/lib/index.js
index <HASH>..<HASH> 100644
--- a/packages/ui-babel-preset/lib/index.js
+++ b/packages/ui-babel-preset/lib/index.js
@@ -74,7 +74,6 @@ module.exports = function (
}
])
}
-
// Work around https://github.com/babel/... | chore(ui-babel-preset): remove babel-plugin-add-import-extension
Closes: INSTUI-<I>
Removed babel-plugin-add-import-extension becuase it interfered with webpack since we are using the
babel-loader to transpile ts files on the fly and this plugin injected .js extensions to the
imports. | instructure_instructure-ui | train | js |
9c58d048ec4af8a35b680a5654c2a18985704f8b | diff --git a/datasette/views/table.py b/datasette/views/table.py
index <HASH>..<HASH> 100644
--- a/datasette/views/table.py
+++ b/datasette/views/table.py
@@ -629,6 +629,8 @@ class TableView(RowTableShared):
# If there's a sort or sort_desc, add that value as a prefix
if (sort or sort_desc) an... | Fix pagination when sorted by expanded foreign key
Closes #<I> | simonw_datasette | train | py,py |
37ca522bebe93fdf3934413bf1df7b6cccc8c5f7 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -15,11 +15,12 @@ function makeDictionary() {
cache['_dict'] = null;
delete cache['_dict'];
-
return cache;
}
function Funnel(inputTree, options) {
+ if (!(this instanceof Funnel)) { return new Funnel(inputTree,... | Don't require "new"
Broccoli plugins typically call "new" on themselves when called as a
plain function. | broccolijs_broccoli-funnel | train | js |
e8ac2ff36044ea4d2522dd75b71fa425bf4b4fb3 | diff --git a/lib/ronin/model/types/description.rb b/lib/ronin/model/types/description.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/model/types/description.rb
+++ b/lib/ronin/model/types/description.rb
@@ -48,7 +48,7 @@ module Ronin
else
sanitized_lines = []
- value.each_line do |l... | Convert the value to a String before calling each_line. | ronin-ruby_ronin | train | rb |
0e7096bd2d9a1de0d418221332125185986ec68e | diff --git a/utils.py b/utils.py
index <HASH>..<HASH> 100644
--- a/utils.py
+++ b/utils.py
@@ -106,7 +106,19 @@ def recursive_zip(zipf, directory, folder = ""):
elif os.path.isdir(os.path.join(directory, item)):
recursive_zip(zipf, os.path.join(directory, item),
os.path.... | Created suggestedArticleTypes() which returns a list of suggest values for the article-type attribute | SavinaRoja_OpenAccess_EPUB | train | py |
56683a45150a092e8dcff186b5568c440ba7b1e3 | diff --git a/core/tasks/static-generator.js b/core/tasks/static-generator.js
index <HASH>..<HASH> 100644
--- a/core/tasks/static-generator.js
+++ b/core/tasks/static-generator.js
@@ -132,8 +132,8 @@ module.exports = class {
convertCacheBusters(content_) {
let content = content_;
- content = content.replace... | fixing static generator removal of cacheBusters | electric-eloquence_fepper-npm | train | js |
dee9834b2101952bc3cec9eae434e644a2ccdce7 | diff --git a/architect.js b/architect.js
index <HASH>..<HASH> 100644
--- a/architect.js
+++ b/architect.js
@@ -283,10 +283,13 @@ function startContainers(config, callback) {
var Agent = require('architect-agent').Agent;
var socketTransport = require('architect-socket-transport');
+ var env = ... | Pass environment variables to the spawned container | c9_architect | train | js |
1903dc6e9bd9869c1deef586aaaee64b820b4d1e | diff --git a/plugins/Live/VisitorLog.php b/plugins/Live/VisitorLog.php
index <HASH>..<HASH> 100644
--- a/plugins/Live/VisitorLog.php
+++ b/plugins/Live/VisitorLog.php
@@ -20,7 +20,7 @@ use Piwik\View;
*/
class VisitorLog extends Visualization
{
- const ID = '\Piwik\Plugins\Live\VisitorLog';
+ const ID = '\\Pi... | Trying fix for error reported in forums <URL> | matomo-org_matomo | train | php |
7bf37937fc6dfa29e7feabaa478c4d57f7c8ef0d | diff --git a/bundles/org.eclipse.orion.client.core/web/orion/preferences.js b/bundles/org.eclipse.orion.client.core/web/orion/preferences.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/preferences.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/preferences.js
@@ -223,7 +22... | Making user preferences cache for 1 hour. We still need the logout to reset preferences in M2. | eclipse_orion.client | train | js |
6af4905131979f5b051ace0e3850ab555e964080 | diff --git a/spec/unit/knife_spec.rb b/spec/unit/knife_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/knife_spec.rb
+++ b/spec/unit/knife_spec.rb
@@ -33,7 +33,10 @@ describe Chef::Knife do
let(:config_location) { File.expand_path("~/.chef/config.rb") }
let(:config_loader) do
- instance_double("Workstati... | Fixed knife_spec unit test
This is failing on both my and btm's machine. No idea how it passes
in other places. | chef_chef | train | rb |
0a04a73ed431a5bf0b13b13712df25039b2fd531 | diff --git a/src/Spotlight.js b/src/Spotlight.js
index <HASH>..<HASH> 100644
--- a/src/Spotlight.js
+++ b/src/Spotlight.js
@@ -52,10 +52,12 @@ class Spotlight extends Base {
componentDidMount() {
const handleSelectedIndexChanged = event => {
+ this[symbols.raiseChangeEvents] = true;
const selected... | Ensure Spotlight raises change events when either inner element is manipulated by user. | elix_elix | train | js |
c248cf0fc3e9086e8da167a79efcd7e506220459 | diff --git a/app/code/community/Nexcessnet/Turpentine/Block/Core/Messages.php b/app/code/community/Nexcessnet/Turpentine/Block/Core/Messages.php
index <HASH>..<HASH> 100644
--- a/app/code/community/Nexcessnet/Turpentine/Block/Core/Messages.php
+++ b/app/code/community/Nexcessnet/Turpentine/Block/Core/Messages.php
@@ -2... | make _isEsiRequest more reliable | nexcess_magento-turpentine | train | php |
9dc2ee548df71cbfc46286804d17968a35d8d53e | diff --git a/mod/lti/locallib.php b/mod/lti/locallib.php
index <HASH>..<HASH> 100644
--- a/mod/lti/locallib.php
+++ b/mod/lti/locallib.php
@@ -4013,7 +4013,7 @@ function get_tool_type_icon_url(stdClass $type) {
}
if (empty($iconurl)) {
- $iconurl = $OUTPUT->image_url('icon', 'lti')->out();
+ $... | MDL-<I> mod_lti: Update use of logo to monologo | moodle_moodle | train | php |
14f7789266168358b06cf9c393afb33fd8d3fe02 | diff --git a/lib/smpp.js b/lib/smpp.js
index <HASH>..<HASH> 100644
--- a/lib/smpp.js
+++ b/lib/smpp.js
@@ -41,17 +41,21 @@ Session.prototype.connect = function() {
Session.prototype._extractPDUs = function() {
var pdu;
- try {
- while (!this.paused && (pdu = PDU.fromStream(this.socket))) {
- this.emit('pdu', pd... | Put only PDU.fromStream in try-catch | farhadi_node-smpp | train | js |
1eef8c8422e4f3e141b1408a669149959d8f3488 | diff --git a/src/Elcodi/Component/Media/Services/ImageManager.php b/src/Elcodi/Component/Media/Services/ImageManager.php
index <HASH>..<HASH> 100644
--- a/src/Elcodi/Component/Media/Services/ImageManager.php
+++ b/src/Elcodi/Component/Media/Services/ImageManager.php
@@ -17,6 +17,7 @@
namespace Elcodi\Component\Media\S... | Use getClientOriginalExtension insted getExtension to get the image extension
Fixx travis errors
Squashing 2 commits | elcodi_elcodi | train | php |
c2e162352903968962067fdd59ee84f8eeea175b | diff --git a/test/spec/ol/control/control.test.js b/test/spec/ol/control/control.test.js
index <HASH>..<HASH> 100644
--- a/test/spec/ol/control/control.test.js
+++ b/test/spec/ol/control/control.test.js
@@ -13,17 +13,18 @@ describe('ol.control.Control', function() {
});
afterEach(function() {
- map.dispose()... | Fix use of dispose in ol.control tests | openlayers_openlayers | train | js |
d7692b02bdeafc2837bf4269527c2eaa8be254b1 | diff --git a/daemon/execdriver/windows/exec.go b/daemon/execdriver/windows/exec.go
index <HASH>..<HASH> 100644
--- a/daemon/execdriver/windows/exec.go
+++ b/daemon/execdriver/windows/exec.go
@@ -30,10 +30,11 @@ func (d *Driver) Exec(c *execdriver.Command, processConfig *execdriver.ProcessCo
WorkingDirectory: c.Worki... | Typo in previous PR processConfig, not c.ProcessConfig | moby_moby | train | go |
0ac7a722bbe66a151e448eeebaa266d000574f14 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ setup(
author="Sentry",
author_email="hello@sentry.io",
install_requires=["flake8>=3.7.0,<3.8.0"],
- test_requires=["pytest"],
+ tests_require=["pytest==4.6.5"], # last 2.7 and 3.7 compat ver... | correct test_requires to tests_require and pin pytest to <I> lts version | getsentry_sentry-flake8 | train | py |
c66c6c8145fdd1b1fa7f37854c4b59b47e3280b0 | diff --git a/REST/XingClient.php b/REST/XingClient.php
index <HASH>..<HASH> 100755
--- a/REST/XingClient.php
+++ b/REST/XingClient.php
@@ -1,11 +1,18 @@
<?php
/*
- * This file is part of the CampaignChain package.
+ * Copyright 2016 CampaignChain, Inc. <info@campaignchain.com>
*
- * (c) CampaignChain Inc. <info@cam... | CampaignChain/campaignchain#<I> Change copyright notice to match with recommendation of ASF | CampaignChain_channel-xing | train | php |
ca985563bf527f2d784c6b6f3705a5b1a417dc46 | diff --git a/doctoc.js b/doctoc.js
index <HASH>..<HASH> 100644
--- a/doctoc.js
+++ b/doctoc.js
@@ -85,13 +85,15 @@ function transform (f, content) {
_lines = _(lines).chain(),
allHeaders = getHashedHeaders(_lines).concat(getUnderlinedHeaders(_lines)),
+ lowestRank = _(allHeaders).chain().pluc... | fixing tocs for docs without h1 | thlorenz_doctoc | train | js |
32dde9d9dc2c7928250d7c08970ab57eb09bde0a | diff --git a/src/net/sf/mpxj/junit/MppFilterTest.java b/src/net/sf/mpxj/junit/MppFilterTest.java
index <HASH>..<HASH> 100644
--- a/src/net/sf/mpxj/junit/MppFilterTest.java
+++ b/src/net/sf/mpxj/junit/MppFilterTest.java
@@ -275,6 +275,14 @@ public class MppFilterTest extends MPXJTestCase
assertTrue(filter.evalua... | Added a test to exercise "is any value" operator. | joniles_mpxj | train | java |
5173fc2725e3c0f1c178fac7b04bddbf02f29e7b | diff --git a/templates/custom-sidebar-details.php b/templates/custom-sidebar-details.php
index <HASH>..<HASH> 100644
--- a/templates/custom-sidebar-details.php
+++ b/templates/custom-sidebar-details.php
@@ -26,6 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<label for="custom... | Add ability to use default sidebar on a single post/page | clubdeuce_custom-sidebars | train | php |
ef2eaceb88d936c3dfab35954a13d7833ca4c9c7 | diff --git a/lib/metadata/policies.js b/lib/metadata/policies.js
index <HASH>..<HASH> 100644
--- a/lib/metadata/policies.js
+++ b/lib/metadata/policies.js
@@ -226,7 +226,7 @@ var policies = {
};
}
},
- "evalCalls": {
+ /*"evalCalls": {
"tool": "phantomas",
"label": "ev... | Remove evalCalls from policies (phantomas bug) | gmetais_YellowLabTools | train | js |
6ef910a6102c7e2bc45ad7ef6918becaf4934767 | diff --git a/bokeh/enums.py b/bokeh/enums.py
index <HASH>..<HASH> 100644
--- a/bokeh/enums.py
+++ b/bokeh/enums.py
@@ -31,7 +31,7 @@ Direction = enumeration("clock", "anticlock")
Units = enumeration("screen", "data")
AngleUnits = enumeration("deg", "rad")
Dimension = enumeration("width", "height", "x", "y")
-Locatio... | Add "max" to Location enumeration | bokeh_bokeh | train | py |
eba45d5945688c72d87292dd8151bc6700c47fd7 | diff --git a/lib/model/attr.js b/lib/model/attr.js
index <HASH>..<HASH> 100644
--- a/lib/model/attr.js
+++ b/lib/model/attr.js
@@ -47,7 +47,8 @@ var Attr = Property.extend(/** @lends Attr# */ {
var attr = this._attr(opts.name);
return function() {
this._super.apply(this, arguments);
- this._attrs[... | Fixed an issue with undefined/falsey values. | wbyoung_azul | train | js,js |
c135a74092d85a9ddbd6d9e70ba2987ed1d52958 | diff --git a/safe/race_test.go b/safe/race_test.go
index <HASH>..<HASH> 100644
--- a/safe/race_test.go
+++ b/safe/race_test.go
@@ -1,4 +1,4 @@
-// Copyright 2013 tsuru authors. All rights reserved.
+// Copyright 2014 tsuru authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license ... | safe: fix year in copyright headers | tsuru_tsuru | train | go,go,go |
df5b562817fce057e4787bc3fa2c888a90572fe1 | diff --git a/lib/passport/http/request.js b/lib/passport/http/request.js
index <HASH>..<HASH> 100644
--- a/lib/passport/http/request.js
+++ b/lib/passport/http/request.js
@@ -12,5 +12,5 @@ var http = require('http')
* @api public
*/
req.isAuthenticated = function() {
- return (this._passport.user) ? true : false;... | Request operates properly when lacking a passport. | jaredhanson_passport | train | js,js |
3f7252e54af5769c3e0c551f93ba468885f89f4c | diff --git a/examples/plotting/file/line_select.py b/examples/plotting/file/line_select.py
index <HASH>..<HASH> 100644
--- a/examples/plotting/file/line_select.py
+++ b/examples/plotting/file/line_select.py
@@ -10,7 +10,9 @@ from bokeh.plotting import output_file, show, figure
# The data is setup to have very differen... | add note to line_select example | bokeh_bokeh | train | py |
04eb5e7e315d3e154db0b5fb540858f8e4a5600a | diff --git a/salt/states/saltmod.py b/salt/states/saltmod.py
index <HASH>..<HASH> 100644
--- a/salt/states/saltmod.py
+++ b/salt/states/saltmod.py
@@ -427,6 +427,11 @@ def function(
func_ret['comment'] = str(exc)
return func_ret
+ try:
+ func_ret['__jid__'] = cmd_ret[next(iter(cmd_ret))]['... | Add jid to salt.function orchestration events | saltstack_salt | train | py |
1c7bbeabe1c1f3eea053c8fd8b6649ba388c1d2e | diff --git a/waliki/slides/views.py b/waliki/slides/views.py
index <HASH>..<HASH> 100644
--- a/waliki/slides/views.py
+++ b/waliki/slides/views.py
@@ -5,8 +5,10 @@ from sh import hovercraft
from django.shortcuts import get_object_or_404
from django.http import HttpResponse
from waliki.models import Page
+from waliki... | Add permission check to slide urls. | mgaitan_waliki | train | py |
1057c3323d0fad907161b076a4a593eefdf1e826 | diff --git a/pygubu/builder/tkstdwidgets.py b/pygubu/builder/tkstdwidgets.py
index <HASH>..<HASH> 100644
--- a/pygubu/builder/tkstdwidgets.py
+++ b/pygubu/builder/tkstdwidgets.py
@@ -336,6 +336,7 @@ class TKPanedWindow(PanedWindowBO):
'background', 'borderwidth', 'cursor', 'orient', 'relief',)
OPTIONS_SPE... | Add missing proxybackground, proxy* missing options of tk.Panedwindow. | alejandroautalan_pygubu | train | py |
67bb614913c9d0297d3f71b9223cafe17c31f6f7 | diff --git a/py/dynesty/nestedsamplers.py b/py/dynesty/nestedsamplers.py
index <HASH>..<HASH> 100644
--- a/py/dynesty/nestedsamplers.py
+++ b/py/dynesty/nestedsamplers.py
@@ -184,7 +184,12 @@ class SuperSampler(Sampler):
# https://www.tandfonline.com/doi/full/10.1080/10618600.2013.791193
# and https:/... | long overdue fix to the scaling of slice sampling.
There is no need to update scale by large amount in each iteration
Also we should prevent warnings down the line by refusing to set the scale
larger than half of the cube diagonal | joshspeagle_dynesty | train | py |
4e24b672861651a7a382be8d802621b1494c9f0e | diff --git a/lib/moped/node.rb b/lib/moped/node.rb
index <HASH>..<HASH> 100644
--- a/lib/moped/node.rb
+++ b/lib/moped/node.rb
@@ -219,9 +219,7 @@ module Moped
# @since 1.0.0
def get_more(database, collection, cursor_id, limit)
operation = Protocol::GetMore.new(database, collection, cursor_id, limit)
-... | Get more exceptions are handled in the read class | mongoid_moped | train | rb |
417d7bb42f4b23626f424fa98ecd35f372356a57 | diff --git a/qtpylib/blotter.py b/qtpylib/blotter.py
index <HASH>..<HASH> 100644
--- a/qtpylib/blotter.py
+++ b/qtpylib/blotter.py
@@ -776,6 +776,7 @@ class Blotter():
# fix expiry formatting (no floats)
df['expiry'] = df['expiry'].fillna(0).astype(int).astype(str)
... | don't add BAG contracts to blotter | ranaroussi_qtpylib | train | py |
718c8286c477723d94cb51d738b1e6cc7bfe3a8a | diff --git a/Eloquent/Model.php b/Eloquent/Model.php
index <HASH>..<HASH> 100644
--- a/Eloquent/Model.php
+++ b/Eloquent/Model.php
@@ -1252,9 +1252,11 @@ abstract class Model implements ArrayAccess, ArrayableInterface, JsonableInterfa
*/
public static function trashed()
{
- $column = $this->getQualifiedDeletedA... | Fix static bug in trashed. | illuminate_database | train | php |
1ad9a966b33edfddf1a6a4be1fed82856ee1b579 | diff --git a/twarc/client2.py b/twarc/client2.py
index <HASH>..<HASH> 100644
--- a/twarc/client2.py
+++ b/twarc/client2.py
@@ -438,7 +438,7 @@ class Twarc2:
generator[dict]: a generator, dict for each tweet.
"""
url = "https://api.twitter.com/2/tweets/sample/stream"
- while True:
+... | catch request exceptions during streaming
This commit reuses twarc.decorators2.catch_request_exceptions in the
context of streaming responses with iter_lines. Hopefully this will
address #<I> but it will require testing by people who continue seeing
the error in the wild. | DocNow_twarc | train | py,py |
f48c63ffb4471c7be25bee5511ca369ad0292d50 | diff --git a/source/resource/Base.php b/source/resource/Base.php
index <HASH>..<HASH> 100644
--- a/source/resource/Base.php
+++ b/source/resource/Base.php
@@ -464,7 +464,7 @@ class GenericResource {
$not = array('primary_method', 'lastUpdate', 'subfunctions', 'client');
// we only need key value
fo... | toArray/0: update only ignore known keys in serializing | Bandwidth_php-bandwidth | train | php |
c69643d4ef2840e946310499f92ebf2f6745d7f4 | diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/integration/__init__.py
+++ b/tests/integration/__init__.py
@@ -1811,12 +1811,12 @@ class ShellCase(AdaptedConfigurationTestCaseMixIn, ShellTestCase, ScriptPathMixi
except OSError:
os... | Fix error in passing timeout for salt tests | saltstack_salt | train | py |
b74242a62ea6bce0abda91770af58c5f4b4a55b8 | diff --git a/integration/integration_tests.js b/integration/integration_tests.js
index <HASH>..<HASH> 100644
--- a/integration/integration_tests.js
+++ b/integration/integration_tests.js
@@ -4797,9 +4797,10 @@ var all_tests = {
count = total,
run = function(i) {
// search by regex
- ... | bug fix for regex serialization test | mongodb_node-mongodb-native | train | js |
52bcf1546a5097f4513c0ad900fbdc2a58a6eaa4 | diff --git a/connector/src/main/java/org/jboss/as/connector/deployers/processors/DriverProcessor.java b/connector/src/main/java/org/jboss/as/connector/deployers/processors/DriverProcessor.java
index <HASH>..<HASH> 100644
--- a/connector/src/main/java/org/jboss/as/connector/deployers/processors/DriverProcessor.java
+++ ... | AS7-<I> Datasource drivers contained in deployments create services identified by deployment's name | wildfly_wildfly | train | java |
3a26d67d1ad79c030e1de82dd57728e88984fc27 | diff --git a/bench_test.go b/bench_test.go
index <HASH>..<HASH> 100644
--- a/bench_test.go
+++ b/bench_test.go
@@ -15,7 +15,6 @@ func BenchmarkPublishSpeed(b *testing.B) {
}
defer nc.Close()
b.StartTimer()
- b.SetBytes(1)
msg := []byte("Hello World")
@@ -42,7 +41,6 @@ func BenchmarkPubSubSpeed(b *testing.B)... | Removed helper setBytes | nats-io_go-nats | train | go |
9a1cafcf9f2548d371c326a4a1ca0b89f8bb5451 | diff --git a/src/Utility/Import.php b/src/Utility/Import.php
index <HASH>..<HASH> 100644
--- a/src/Utility/Import.php
+++ b/src/Utility/Import.php
@@ -202,7 +202,7 @@ class Import
*/
public static function getRowsCount($path, $withHeader = false)
{
- $result = exec("/usr/bin/env wc -l '" . $path ... | WC command produces extra spaces that breaks line count (task #<I>) | QoboLtd_cakephp-csv-migrations | train | php |
1d7e2b6fca76ad725251b87c9b9160eb45f4ab03 | diff --git a/src/HealthGraph/HealthGraphClient.php b/src/HealthGraph/HealthGraphClient.php
index <HASH>..<HASH> 100644
--- a/src/HealthGraph/HealthGraphClient.php
+++ b/src/HealthGraph/HealthGraphClient.php
@@ -20,9 +20,12 @@ class HealthGraphClient extends Client
*
* @TODO update factory method and docbloc... | Altered factory method for client to accept logger | jyokum_healthgraph | train | php |
36d4d24d30dda65633e9c0c1d68141d8a7cd00bc | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -56,7 +56,7 @@ dependency_links = [
install_requires = [
'django',
'django-colorful',
- 'django-author',
+ 'django-author>=0.2',
'django-admin-sortable2',
'psycopg2',
'easy_thumbnails', | version of django-author | auto-mat_django-webmap-corpus | train | py |
ce7c5a04214476457d2c1481a8067708e5485305 | diff --git a/benchexec/tablegenerator/textable.py b/benchexec/tablegenerator/textable.py
index <HASH>..<HASH> 100644
--- a/benchexec/tablegenerator/textable.py
+++ b/benchexec/tablegenerator/textable.py
@@ -82,10 +82,10 @@ class LatexCommand:
"""
if not value:
logging.warning(
- ... | Printing empty value instead of 0 now | sosy-lab_benchexec | train | py |
e78ee468ba8ab97f03099f4631578ddad947106d | diff --git a/src/CirclicalUser/Exception/PrivilegeEscalationException.php b/src/CirclicalUser/Exception/PrivilegeEscalationException.php
index <HASH>..<HASH> 100644
--- a/src/CirclicalUser/Exception/PrivilegeEscalationException.php
+++ b/src/CirclicalUser/Exception/PrivilegeEscalationException.php
@@ -10,5 +10,4 @@ cla... | Analysis trigger to test Codacy problems. | Saeven_zf3-circlical-user | train | php,php |
7509ec2a0d5885c45a38f172c9433935b42eae5d | diff --git a/spec/net_http_spec.rb b/spec/net_http_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/net_http_spec.rb
+++ b/spec/net_http_spec.rb
@@ -11,8 +11,8 @@ describe Net::HTTP do
it "should reject SSL mismatches" do
lambda {
- Net::HTTP.post_form_with_ssl URI.parse('https://72.32.178.162/'), {}... | Fix hanging spec
IP is Fusemail's www server | mudbugmedia_fusebox | train | rb |
a607afb8d243953b8aeb647103430b642127cd16 | diff --git a/src/Symfony/Bundle/DoctrineBundle/DependencyInjection/DoctrineExtension.php b/src/Symfony/Bundle/DoctrineBundle/DependencyInjection/DoctrineExtension.php
index <HASH>..<HASH> 100755
--- a/src/Symfony/Bundle/DoctrineBundle/DependencyInjection/DoctrineExtension.php
+++ b/src/Symfony/Bundle/DoctrineBundle/Dep... | [DoctrineBundle] added a doctrine.dbal.connections parameter that keeps the list of registered DBAL connections | symfony_symfony | train | php |
58ba0c40a596e35600d7c75083e8aaf86e6452f2 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -44,8 +44,8 @@ setup(name = 'Rtree',
keywords = 'gis spatial index',
author = 'Sean Gillies',
author_email = 'sgillies@frii.com',
- maintainer = 'Howard Butler',
- mainta... | revert maintainer change because of PyPI | Toblerity_rtree | train | py |
39251a69ee1b01d909fb4c77cc1d9026883749a9 | diff --git a/src/AlgorithmConnectedComponents.php b/src/AlgorithmConnectedComponents.php
index <HASH>..<HASH> 100644
--- a/src/AlgorithmConnectedComponents.php
+++ b/src/AlgorithmConnectedComponents.php
@@ -16,6 +16,22 @@ class AlgorithmConnectedComponents extends Algorithm{
$this->graph = $graph;
}
... | Additional helper for connected component of vertex | graphp_algorithms | train | php |
70fccff1ef19d17e42ff85af3ae4e2d49fe13b79 | diff --git a/fortranmagic.py b/fortranmagic.py
index <HASH>..<HASH> 100644
--- a/fortranmagic.py
+++ b/fortranmagic.py
@@ -186,11 +186,11 @@ class FortranMagics(Magics):
except:
pass
if err:
- sys.stderr.write(err)
+ ... | Decode text before printing, fix #<I> | mgaitan_fortran_magic | train | py |
8d67bb47cf601d970bb78088e459ceba6dd2bd48 | diff --git a/sastool/classes2/loader.py b/sastool/classes2/loader.py
index <HASH>..<HASH> 100644
--- a/sastool/classes2/loader.py
+++ b/sastool/classes2/loader.py
@@ -55,9 +55,11 @@ class Loader(object, metaclass=abc.ABCMeta):
def loadexposure(self, fsn: int) -> Exposure:
"""Load the exposure for the give... | Loader.find_file() strips the path from the file. | awacha_sastool | train | py |
ef92c331d32fa85036a5828d6eafb2c349fbcd04 | diff --git a/blocks/query-assist/query-assist.js b/blocks/query-assist/query-assist.js
index <HASH>..<HASH> 100644
--- a/blocks/query-assist/query-assist.js
+++ b/blocks/query-assist/query-assist.js
@@ -58,6 +58,7 @@ define([
this.onApply_ = config.onApply || $.noop;
this.onChange_ = config.onChange || $.noop... | RG-<I> Closing query-assist by pressing Esc closes Upsource popups
Former-commit-id: a2ee<I>bf1d<I>e1f<I>f4f<I>f<I>fbf7b5e<I>e5 | JetBrains_ring-ui | train | js |
26f6f89ddc588e4f399a2acb84bf2c56ccf8ac06 | diff --git a/pywws/toservice.py b/pywws/toservice.py
index <HASH>..<HASH> 100644
--- a/pywws/toservice.py
+++ b/pywws/toservice.py
@@ -22,7 +22,7 @@ class ToService(object):
self.logger = logging.getLogger('pywws.%s' % self.__class__.__name__)
self.params = params
self.data = calib_data
- ... | Slightly rearranged error reporting in toservice.py. Should reduce
chance of multiple repeated messages in the log. | jim-easterbrook_pywws | train | py |
06dee576e017760227dca87bc168412825ef576c | diff --git a/tests/test_angle_tools.py b/tests/test_angle_tools.py
index <HASH>..<HASH> 100644
--- a/tests/test_angle_tools.py
+++ b/tests/test_angle_tools.py
@@ -66,6 +66,16 @@ def test_bear():
assert_almost_equal(ans, bear, err_msg="{0:5.2f},{1:5.2f} <-> {2:5.2f},{3:5.2f} == {4:g} != {5:g}".format(ra1, dec1,... | now testing all functions use by Aegean | PaulHancock_Aegean | train | py |
bcc143a3cf871f352141261a92b4e9ca7fd98b8d | diff --git a/grpc/interceptor/interceptor.go b/grpc/interceptor/interceptor.go
index <HASH>..<HASH> 100644
--- a/grpc/interceptor/interceptor.go
+++ b/grpc/interceptor/interceptor.go
@@ -30,7 +30,7 @@ func Unary(fn func(req interface{}, info *grpc.UnaryServerInfo) (log.Interface,
code := grpc.Code(grpcErr)
log =... | grpc/interceptor: count canceled req as failed | TheThingsNetwork_go-utils | train | go |
dc1b260085680be1cb09dc2b04b9e30f14531f4c | diff --git a/core/src/main/java/org/testcontainers/images/builder/ImageFromDockerfile.java b/core/src/main/java/org/testcontainers/images/builder/ImageFromDockerfile.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/testcontainers/images/builder/ImageFromDockerfile.java
+++ b/core/src/main/java/org/testcont... | Ensure that piped streams are closed automatically. This resolves an apparently deadlock somewhere between netty/docker if a previous test, affected by #<I>, has failed during copying of a file. | testcontainers_testcontainers-java | train | java |
dea6217f2c5a277fc72dc1bf6f7fbc0303e7c26b | diff --git a/src/api/knowledgebase.js b/src/api/knowledgebase.js
index <HASH>..<HASH> 100644
--- a/src/api/knowledgebase.js
+++ b/src/api/knowledgebase.js
@@ -679,7 +679,17 @@ function runToolChain(axios, modelId, toolchainId, attackerProfileId, _callbacks
callbacks.onToolChainStart();
return axios(params)
- .th... | we need to construct our own task url | trespass-project_trespass.js | train | js |
eea4570c39212ba4e195650a7b33e80ee83a26a0 | diff --git a/pfmisc/pfmisc.py b/pfmisc/pfmisc.py
index <HASH>..<HASH> 100755
--- a/pfmisc/pfmisc.py
+++ b/pfmisc/pfmisc.py
@@ -79,6 +79,10 @@ class pfmisc():
self.dp2.qprint("Why hello there, world! In a debugging file!")
print('* Check on /tmp/pfmisc.txt')
+ print('* calling: self.dp.qprint(... | Update demo with teeFile example. | FNNDSC_pfmisc | train | py |
662ae0c0a0cc6c8db27f5e394c2b15d00cdb7877 | diff --git a/lib/nominet-epp.rb b/lib/nominet-epp.rb
index <HASH>..<HASH> 100644
--- a/lib/nominet-epp.rb
+++ b/lib/nominet-epp.rb
@@ -75,11 +75,7 @@ module NominetEPP
# @return [Hash] Nominet Schema Locations by prefix
def schemaLocations
- { :domain => 'http://www.nominet.org.uk/epp/xml/nom-domain-2... | Remove all old schemaLocation information. | m247_nominet-epp | train | rb |
377591db1eb9ba08010faf5ac29473739ae7c54b | diff --git a/src/main/java/org/serversass/Parser.java b/src/main/java/org/serversass/Parser.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/serversass/Parser.java
+++ b/src/main/java/org/serversass/Parser.java
@@ -411,10 +411,10 @@ public class Parser {
}
/**
- * Parses and consumes selector pr... | Replaces & with & in javadoc | scireum_server-sass | train | java |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.