hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
a25d69df824e1c86c834b832e24f01969426c28b
diff --git a/placebo.py b/placebo.py index <HASH>..<HASH> 100644 --- a/placebo.py +++ b/placebo.py @@ -13,6 +13,7 @@ # limitations under the License. import json +import datetime def _add_custom_class(base_classes, **kwargs): @@ -56,11 +57,11 @@ class Placebo(object): def save(self, path): with...
Added support for responses with datetime objects Added serialize and deserialize methods for handling types that the json module can't normally convert. I think this will only be used for datetime objects, but I've included framework for easily adding other types if needed. Fixes #5.
garnaat_placebo
train
7a3a744daf353495a60b43924288523b80c114ae
diff --git a/lib/code_spec/matchers/have_call.rb b/lib/code_spec/matchers/have_call.rb index <HASH>..<HASH> 100755 --- a/lib/code_spec/matchers/have_call.rb +++ b/lib/code_spec/matchers/have_call.rb @@ -32,7 +32,8 @@ module RSpec::RubyContentMatchers args_expr when Array args.inject("") do |re...
#have_call can handle both method calls and strings as args
kristianmandrup_code-spec
train
a6e69682fa3b1513a9a0afbad4f6be2a5e660ec1
diff --git a/lib/merb-core/bootloader.rb b/lib/merb-core/bootloader.rb index <HASH>..<HASH> 100644 --- a/lib/merb-core/bootloader.rb +++ b/lib/merb-core/bootloader.rb @@ -83,9 +83,8 @@ class Merb::BootLoader::Dependencies < Merb::BootLoader end require initfile if File.exists?(initfile + ".rb") - if !Mer...
fix loading of environment.rb files
wycats_merb
train
19426109dad10fdb710866fb72fc526793ac5465
diff --git a/builtin/providers/aws/resource_aws_security_group.go b/builtin/providers/aws/resource_aws_security_group.go index <HASH>..<HASH> 100644 --- a/builtin/providers/aws/resource_aws_security_group.go +++ b/builtin/providers/aws/resource_aws_security_group.go @@ -359,6 +359,8 @@ func resourceAwsSecurityGroupDele...
Lambda ENI cleanup added to security group delete (#<I>)
hashicorp_terraform
train
d5fb924795f3229e532fa7abcbf3898e4b393a92
diff --git a/lib/y2r/ast/ycp.rb b/lib/y2r/ast/ycp.rb index <HASH>..<HASH> 100644 --- a/lib/y2r/ast/ycp.rb +++ b/lib/y2r/ast/ycp.rb @@ -1254,29 +1254,52 @@ module Y2R end class YEPropagate < Node + # Is identical to list of shortcuts in ruby-bindings ycp/convert.rb + TYPES_WITH_SHORTCUT_CON...
implement shortcuts for common conversion from any
yast_y2r
train
0edb423615eb2c1f2506e8d54ef7f76fb084e129
diff --git a/scripts/performance/perf_load/perf_spike_load.py b/scripts/performance/perf_load/perf_spike_load.py index <HASH>..<HASH> 100755 --- a/scripts/performance/perf_load/perf_spike_load.py +++ b/scripts/performance/perf_load/perf_spike_load.py @@ -30,9 +30,9 @@ def get_args(test_config, process_name): commo...
Fix deps and params names
hyperledger_indy-node
train
47c564c1ba1fec409639ec5e9f3b62e12c5f461c
diff --git a/CGRtools/algorithms/morgan.py b/CGRtools/algorithms/morgan.py index <HASH>..<HASH> 100644 --- a/CGRtools/algorithms/morgan.py +++ b/CGRtools/algorithms/morgan.py @@ -50,6 +50,9 @@ def get_morgan(g, isotope=False, element=True, stereo=False, hybridization=False ordering equal to reve...
signatures for empty containers bug fixed. substructure mapping bug fixed.
cimm-kzn_CGRtools
train
52dd89ecadf5bafcd6225a1252de5a1b26ea29ce
diff --git a/src/config/babelrc.js b/src/config/babelrc.js index <HASH>..<HASH> 100644 --- a/src/config/babelrc.js +++ b/src/config/babelrc.js @@ -21,6 +21,13 @@ module.exports = { require.resolve("@babel/plugin-transform-template-literals"), require.resolve("@babel/plugin-transform-destructuring"), require.re...
RootImport package was added to babel plugins (#<I>)
Orckestra_orc-scripts
train
b4090f032c5a74a5fd0dfcf9314c4c6e68e861d0
diff --git a/test/docker-tests/src/test/java/it/unibz/inf/ontop/docker/AbstractConstraintTest.java b/test/docker-tests/src/test/java/it/unibz/inf/ontop/docker/AbstractConstraintTest.java index <HASH>..<HASH> 100644 --- a/test/docker-tests/src/test/java/it/unibz/inf/ontop/docker/AbstractConstraintTest.java +++ b/test/do...
Minor compilation issues fixed in docker-tests.
ontop_ontop
train
90ac0910335b4a0edab3e24c59339e4ef246e9f7
diff --git a/src/widgets/remote/action/action.js b/src/widgets/remote/action/action.js index <HASH>..<HASH> 100644 --- a/src/widgets/remote/action/action.js +++ b/src/widgets/remote/action/action.js @@ -43,7 +43,9 @@ }, messages: { error: 'An error occurred, please try again later', - succ...
RemoteAction: added support for refreshing and redirecting
svelto_svelto
train
a2f9c94aedc4b4f96488235f16b8cd2d3351af8b
diff --git a/src/urh/controller/CompareFrameController.py b/src/urh/controller/CompareFrameController.py index <HASH>..<HASH> 100644 --- a/src/urh/controller/CompareFrameController.py +++ b/src/urh/controller/CompareFrameController.py @@ -1215,6 +1215,7 @@ class CompareFrameController(QFrame): def on_undo_stack_in...
update search results if something was deleted in analysis
jopohl_urh
train
50073990e162cacc5afac222b229c48e15313628
diff --git a/keepalive/keepalive.py b/keepalive/keepalive.py index <HASH>..<HASH> 100644 --- a/keepalive/keepalive.py +++ b/keepalive/keepalive.py @@ -312,7 +312,10 @@ class KeepAliveHandler: if not req.headers.has_key('Content-length'): h.putheader('Content-length', '%d' % len(dat...
improved patch from <I>f<I>ef<I>b5fe<I>c9efbf4fed7da<I>e to address the issue identified by @xflr6 in RDFLib/sparqlwrapper#<I>
wikier_keepalive
train
465e6ea49c77c5b9505a6063010ed57bcea0a9a6
diff --git a/vertica_python/errors.py b/vertica_python/errors.py index <HASH>..<HASH> 100644 --- a/vertica_python/errors.py +++ b/vertica_python/errors.py @@ -182,6 +182,10 @@ class ConnectionFailure(QueryError): pass +class LostConnectivityFailure(QueryError): + pass + + QUERY_ERROR_CLASSES = { b'55V...
Add lost connectivity error (#<I>)
vertica_vertica-python
train
1de7dec242eed3ef6d02c009ea1e8b34b9c4d1e6
diff --git a/src/ArrayHydrator.php b/src/ArrayHydrator.php index <HASH>..<HASH> 100644 --- a/src/ArrayHydrator.php +++ b/src/ArrayHydrator.php @@ -23,4 +23,6 @@ final class ArrayHydrator implements Hydrates { return $input; } + + public function currentInstance() {} } diff --git a/src/MappedHydra...
Implement retrieving the currently hydrating instance
Stratadox_Hydrator
train
8f147797a65168986f1c7874d939e6d610f4fe2b
diff --git a/lib/features/bendpoints/ConnectionSegmentMove.js b/lib/features/bendpoints/ConnectionSegmentMove.js index <HASH>..<HASH> 100644 --- a/lib/features/bendpoints/ConnectionSegmentMove.js +++ b/lib/features/bendpoints/ConnectionSegmentMove.js @@ -18,6 +18,18 @@ function axisSet(point, axis, value) { }; } ...
fix(bendpoints/ConnectionSegmentMove): keep dragger on connections Related to bpmn-io/bpmn-js#<I>
bpmn-io_diagram-js
train
b83f1a82534170a12e42fc39cb7ac04ba6595c44
diff --git a/HTMLView.js b/HTMLView.js index <HASH>..<HASH> 100644 --- a/HTMLView.js +++ b/HTMLView.js @@ -1,10 +1,11 @@ -var React = require('react-native') +var React = require('react') +var ReactNative = require('react-native') var htmlToElement = require('./htmlToElement') var { Linking, StyleSheet, Text...
require from react instead of react-native
jsdf_react-native-htmlview
train
6f10ebd81802260c839e915320f050d820ea56f9
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,10 +6,15 @@ __license__ = "BSD 2-clause" __email__ = "andreafioraldi@gmail.com, willownoises@gmail.com" from setuptools import setup +import os with open('README.md') as readme_file: readme = readme_file.r...
added dependencies in setup.py
Carbonara-Project_Guanciale
train
215aaacddb83cc0ff96142e0ff8260b1bb82060e
diff --git a/core/server/worker/src/main/java/alluxio/worker/block/TieredBlockStore.java b/core/server/worker/src/main/java/alluxio/worker/block/TieredBlockStore.java index <HASH>..<HASH> 100644 --- a/core/server/worker/src/main/java/alluxio/worker/block/TieredBlockStore.java +++ b/core/server/worker/src/main/java/allu...
Do not have the ProbalisticReviewer unnecessarily reject Many calls to TieredBlockStore.allocateSpace comes from TieredBlockStore.requestSpace either through "ShortCircuitBlockWriteHandler -> DefaultBlockWorker" or "UnderFileSystemBlockReader" (Block Expansion) All usages of this has forceLocation true and eviction...
Alluxio_alluxio
train
45a7f07d1ce23dbd36e48c0fd76e0508e2d1f407
diff --git a/src/main/java/com/lowagie/text/pdf/PdfStamperImp.java b/src/main/java/com/lowagie/text/pdf/PdfStamperImp.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/lowagie/text/pdf/PdfStamperImp.java +++ b/src/main/java/com/lowagie/text/pdf/PdfStamperImp.java @@ -938,6 +938,7 @@ class PdfStamperImp extends P...
Remove the sigflags when flattening.
albfernandez_itext2
train
14160573cb1004e0ad22917582cce31ad6245e2d
diff --git a/biodata-tools/src/main/java/org/opencb/biodata/tools/alignment/converters/SAMRecordToAvroReadAlignmentConverter.java b/biodata-tools/src/main/java/org/opencb/biodata/tools/alignment/converters/SAMRecordToAvroReadAlignmentConverter.java index <HASH>..<HASH> 100644 --- a/biodata-tools/src/main/java/org/openc...
tools: store alignment position for Avro and Proto Variant like SAMRecord does
opencb_biodata
train
cad3c2f2482d33f3691e4ee254ef6f79056c060f
diff --git a/myo/_extern.py b/myo/_extern.py index <HASH>..<HASH> 100644 --- a/myo/_extern.py +++ b/myo/_extern.py @@ -5,3 +5,70 @@ import os import sys import ctypes +from myo.enum import Enumeration + + +class result_t(Enumeration): + + success = 0 + error = 1 + error_invalid_argument = 2 + error_runt...
Implemented enumerations to myo._extern
NiklasRosenstein_myo-python
train
69b130a3f239590f828f0e4f6f6c0a872b17548b
diff --git a/packages/netlify-cms-backend-github/src/GraphQLAPI.js b/packages/netlify-cms-backend-github/src/GraphQLAPI.js index <HASH>..<HASH> 100644 --- a/packages/netlify-cms-backend-github/src/GraphQLAPI.js +++ b/packages/netlify-cms-backend-github/src/GraphQLAPI.js @@ -216,7 +216,7 @@ export default class GraphQLA...
fix(backend-github-graphql): return empty array on non existent folder (#<I>) When starting a new project, usually collection folders don't exist in the repo. This is a legitimate use case and not an error.
netlify_netlify-cms
train
4a8445a03d3e38c2bd066bc7f3ee100080ecac87
diff --git a/src/org/opencms/ui/apps/sitemanager/CmsDeleteSiteDialog.java b/src/org/opencms/ui/apps/sitemanager/CmsDeleteSiteDialog.java index <HASH>..<HASH> 100644 --- a/src/org/opencms/ui/apps/sitemanager/CmsDeleteSiteDialog.java +++ b/src/org/opencms/ui/apps/sitemanager/CmsDeleteSiteDialog.java @@ -151,6 +151,10 @@ ...
SiteManager: Add permission for OU users to root folder of new site
alkacon_opencms-core
train
00021ebce86860ff61323a43e4884e6d9c9ae221
diff --git a/spec/collection_shared_spec.rb b/spec/collection_shared_spec.rb index <HASH>..<HASH> 100644 --- a/spec/collection_shared_spec.rb +++ b/spec/collection_shared_spec.rb @@ -759,88 +759,41 @@ share_examples_for 'A Collection' do @articles.should respond_to(:replace) end -# describe '#replace' do -# ...
Added pending specs for Collection#replace, #reverse and #shift
datamapper_dm-core
train
f786e1b013ecfa8469b051c0e48d33c68a8f1724
diff --git a/lib/ronin/version.rb b/lib/ronin/version.rb index <HASH>..<HASH> 100644 --- a/lib/ronin/version.rb +++ b/lib/ronin/version.rb @@ -20,5 +20,5 @@ module Ronin # Ronin version - VERSION = '0.3.1' + VERSION = '0.4.0' end
Major version bump to <I> due to API / Overlay structure changes.
ronin-ruby_ronin
train
ce247914a988d8d253a2914f44ba4e488a97628b
diff --git a/abilian/services/audit/tests.py b/abilian/services/audit/tests.py index <HASH>..<HASH> 100644 --- a/abilian/services/audit/tests.py +++ b/abilian/services/audit/tests.py @@ -159,7 +159,7 @@ class TestAudit(BaseTestCase): 'account_id': (NO_VALUE, 1), 'id': (No...
testing: turns on SAWarning as error by default. This is a great helper to ensure we do pass unicode were required, and generally that sqlalchemy usage is done right.
abilian_abilian-core
train
8d38305391b2d9a4b48309715e835295af4f7ca7
diff --git a/organizations/models.py b/organizations/models.py index <HASH>..<HASH> 100644 --- a/organizations/models.py +++ b/organizations/models.py @@ -68,6 +68,7 @@ class OrganizationUser(OrganizationsBase): class Meta: ordering = ['organization', 'user'] + unique_together = ('user', 'organiz...
Ensure uniqueness between user and organization
bennylope_django-organizations
train
cadc3b1724d1044d37bd15f60dd4b91cd730daf0
diff --git a/plugins/Goals/Reports/BaseEcommerceItem.php b/plugins/Goals/Reports/BaseEcommerceItem.php index <HASH>..<HASH> 100644 --- a/plugins/Goals/Reports/BaseEcommerceItem.php +++ b/plugins/Goals/Reports/BaseEcommerceItem.php @@ -99,6 +99,10 @@ abstract class BaseEcommerceItem extends BaseEcommerce ...
Make sure to default abandonedCarts param to correct value when ecommerce item report viewed w/o the parameter.
matomo-org_matomo
train
aad4fc3f2a30e025d8f767fe65b03c8beb6f8bce
diff --git a/mode/javascript/javascript.js b/mode/javascript/javascript.js index <HASH>..<HASH> 100644 --- a/mode/javascript/javascript.js +++ b/mode/javascript/javascript.js @@ -605,7 +605,7 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { } } function typeexpr(type, value) { - if ...
[javascript mode] Improve handling of readonly type modifier in TS
codemirror_CodeMirror
train
c1b2eabf0455b13f0396e7c46b51df3d81d7b9ff
diff --git a/astropy_helpers/sphinx/ext/automodsumm.py b/astropy_helpers/sphinx/ext/automodsumm.py index <HASH>..<HASH> 100644 --- a/astropy_helpers/sphinx/ext/automodsumm.py +++ b/astropy_helpers/sphinx/ext/automodsumm.py @@ -146,7 +146,7 @@ class Automodsumm(AstropyAutosummary): if funconly and not clson...
Followup to <URL> and changed all uses of isfunction to isroutine which is fine in this context.
astropy_astropy-helpers
train
db708b8490bf78c8fbb838098ea74ef96b6a8153
diff --git a/plugins/logs/plugin.go b/plugins/logs/plugin.go index <HASH>..<HASH> 100644 --- a/plugins/logs/plugin.go +++ b/plugins/logs/plugin.go @@ -166,7 +166,7 @@ func (p *Plugin) Log(ctx context.Context, decision *server.Info) { var buf bytes.Buffer - path := strings.Replace(strings.TrimLeft(decision.Query, ...
Fix query to path conversion in decision logger The decision logger was using strings.TrimLeft when it should have been using strings.TrimPrefix. As a result, the prefix was not being trimmed correctly--leading characters in the cutset "data." were being removed. Fixes #<I>
open-policy-agent_opa
train
43c0ae5ceda2ac85307678fee5f1ac90a369f201
diff --git a/externs/ie_dom.js b/externs/ie_dom.js index <HASH>..<HASH> 100644 --- a/externs/ie_dom.js +++ b/externs/ie_dom.js @@ -509,11 +509,25 @@ History.prototype.length; History.prototype.forward = function() {}; /** + * @type {boolean} + * @implicitCast + * @see http://msdn.microsoft.com/en-us/library/ie/ms53...
Add Inetnet Explorer proprietary attribute "allowTransparency" to both Frame and IFrame. R=johnlenz,estebandlc DELTA=<I> (<I> added, 0 deleted, 0 changed) Revision created by MOE tool push_codebase. MOE_MIGRATION=<I> git-svn-id: <URL>
google_closure-compiler
train
14b8654d3a2d2ea41bdb716f0fbf62fe606cd637
diff --git a/src/java/com/threerings/presents/server/PresentsDObjectMgr.java b/src/java/com/threerings/presents/server/PresentsDObjectMgr.java index <HASH>..<HASH> 100644 --- a/src/java/com/threerings/presents/server/PresentsDObjectMgr.java +++ b/src/java/com/threerings/presents/server/PresentsDObjectMgr.java @@ -1,5 +...
Modified code that calls objectAvailable() to catch exceptions thrown by the subscriber so that they don't throw monkey wrenches into anyone's business. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1
threerings_narya
train
b0d782ebb1cba81008c2689422e03d2429429313
diff --git a/lib/fileFactory.js b/lib/fileFactory.js index <HASH>..<HASH> 100644 --- a/lib/fileFactory.js +++ b/lib/fileFactory.js @@ -2,9 +2,10 @@ const { isFunc, + debugLog, + moveFile, promiseCallback, checkAndMakeDir, - moveFile, saveBufferToFile } = require('./utilities'); @@ -15,10 +16,9 @@ c...
Add debug logging for mv in fileFactory.js Add debug logging to mv function.
richardgirges_express-fileupload
train
e631ccaa8dad177c33a7b5bc4f0a3383d0626b2f
diff --git a/src/Assetic/Filter/CompassFilter.php b/src/Assetic/Filter/CompassFilter.php index <HASH>..<HASH> 100644 --- a/src/Assetic/Filter/CompassFilter.php +++ b/src/Assetic/Filter/CompassFilter.php @@ -241,7 +241,7 @@ class CompassFilter implements FilterInterface $pb->add('--config')->add($this->conf...
cleaned up escaping in ProcessBuilder
kriswallsmith_assetic
train
be4255509ba80da077e6d9086063fdb4edfa30bc
diff --git a/src/main/java/net/hamnaberg/json/ValueFactory.java b/src/main/java/net/hamnaberg/json/ValueFactory.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/hamnaberg/json/ValueFactory.java +++ b/src/main/java/net/hamnaberg/json/ValueFactory.java @@ -49,7 +49,12 @@ public class ValueFactory { if (v...
Handle Options in createValue Convert value to String if we cannot handle it.
hamnis_json-collection
train
ce548fc0069f34be8c39b351813e700cf89f2e02
diff --git a/ca/django_ca/tests/tests_verification.py b/ca/django_ca/tests/tests_verification.py index <HASH>..<HASH> 100644 --- a/ca/django_ca/tests/tests_verification.py +++ b/ca/django_ca/tests/tests_verification.py @@ -39,6 +39,14 @@ class CRLValidationTestCase(TestCaseMixin, TestCase): super().setUp() ...
add a few more tests for CRL validation
mathiasertl_django-ca
train
1419cf24eea3e145ab86f4fd17356143a5f9e9d6
diff --git a/modules/pulsar/src/main/java/org/testcontainers/containers/PulsarContainer.java b/modules/pulsar/src/main/java/org/testcontainers/containers/PulsarContainer.java index <HASH>..<HASH> 100644 --- a/modules/pulsar/src/main/java/org/testcontainers/containers/PulsarContainer.java +++ b/modules/pulsar/src/main/j...
Improve Pulsar's wait strategy to rely on clusterName (#<I>) `PulsarContainer` allow to override configuration using env vars, using `PULSAR_PREFIX_clusterName" will override the default's value "standalone". The endpoint response should adapt accordingly.
testcontainers_testcontainers-java
train
f60a373a3ec225feb08c95b5e59d9eb3dc438ff7
diff --git a/features/product/viewing_products/viewing_sorted_products.feature b/features/product/viewing_products/viewing_sorted_products.feature index <HASH>..<HASH> 100644 --- a/features/product/viewing_products/viewing_sorted_products.feature +++ b/features/product/viewing_products/viewing_sorted_products.feature @...
[Product][API][Bug] Fixed product sorting by translated names
Sylius_Sylius
train
dda4d200b1e391ab01c41febe503840d04ec090c
diff --git a/lib/softlayer/UserCustomer.rb b/lib/softlayer/UserCustomer.rb index <HASH>..<HASH> 100644 --- a/lib/softlayer/UserCustomer.rb +++ b/lib/softlayer/UserCustomer.rb @@ -120,6 +120,29 @@ module SoftLayer end ## + # Retrieve the user customer associated with the specified username + # + def...
Add find user customer by username method to UserCustomer
softlayer_softlayer-ruby
train
113ca2b204626f6eab1b18a43a0930198ca0551b
diff --git a/opencensus/trace/ext/requests/trace.py b/opencensus/trace/ext/requests/trace.py index <HASH>..<HASH> 100644 --- a/opencensus/trace/ext/requests/trace.py +++ b/opencensus/trace/ext/requests/trace.py @@ -28,7 +28,7 @@ SESSION_CLASS_NAME = 'Session' def trace_integration(): - """Wrap the mysql connect...
Fix docstring for trace_integration (#<I>)
census-instrumentation_opencensus-python
train
6cefdf4f08f88815dc17107daec5773557fa6cea
diff --git a/modules/scene/scene.js b/modules/scene/scene.js index <HASH>..<HASH> 100644 --- a/modules/scene/scene.js +++ b/modules/scene/scene.js @@ -284,7 +284,7 @@ Scene.prototype[listenForEventsKey] = function listenForEvents (container) { [KeyboardEvent.events.up]: null, }; Object.keys(keyboardL...
:bug: Fixing a bug. Fix keyboard-events not being fired when scene target container is not body
pencil-js_pencil.js
train
7b6f427ff2290ceccef7c4bab33a93474af80988
diff --git a/resolwe/flow/executors/docker.py b/resolwe/flow/executors/docker.py index <HASH>..<HASH> 100644 --- a/resolwe/flow/executors/docker.py +++ b/resolwe/flow/executors/docker.py @@ -22,9 +22,17 @@ class FlowExecutor(LocalFlowExecutor): rand_int = random.randint(1000, 9999) container_n...
Map data and upload dirs to Docker volumes
genialis_resolwe
train
2956ccd50ba8a44e4e6787ca44bf2d24d1d9666a
diff --git a/openquake/calculators/extract.py b/openquake/calculators/extract.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/extract.py +++ b/openquake/calculators/extract.py @@ -206,12 +206,17 @@ def extract_realizations(dstore, dummy): """ Extract an array of realizations. Use it as /extract/rea...
Fixed extract/realizations with collect_rlzs=True
gem_oq-engine
train
07cf83f696d2678bee77ebc431e104229cbb602e
diff --git a/holoviews/plotting/element.py b/holoviews/plotting/element.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/element.py +++ b/holoviews/plotting/element.py @@ -245,7 +245,7 @@ class ElementPlot(Plot): if yformat: axis.yaxis.set_major_formatter(yformat) - ...
Disabled labels for single Element in Layout
pyviz_holoviews
train
9a09be5e94de6b6194efae0a587e52af22408dd5
diff --git a/custodian/qchem/jobs.py b/custodian/qchem/jobs.py index <HASH>..<HASH> 100644 --- a/custodian/qchem/jobs.py +++ b/custodian/qchem/jobs.py @@ -217,16 +217,22 @@ class QCJob(Job): break else: num_neg_freqs += [sum(1 for freq in outdata.get('frequenci...
Comments on current flattener before overhaul
materialsproject_custodian
train
ca41b77d83abc415cd60060c43b65a3580d24ed4
diff --git a/rtv/submission.py b/rtv/submission.py index <HASH>..<HASH> 100644 --- a/rtv/submission.py +++ b/rtv/submission.py @@ -205,11 +205,6 @@ class SubmissionPage(BasePage): n_rows, n_cols = win.getmaxyx() n_cols -= 3 # one for each side of the border + one for offset - # Don't print a...
Submission selfpost now partially displays if not enough space.
michael-lazar_rtv
train
b100492e1ca84ee2c5670f67bf45997b209c49c2
diff --git a/runtime/lib/collection/PropelObjectCollection.php b/runtime/lib/collection/PropelObjectCollection.php index <HASH>..<HASH> 100644 --- a/runtime/lib/collection/PropelObjectCollection.php +++ b/runtime/lib/collection/PropelObjectCollection.php @@ -278,6 +278,7 @@ class PropelObjectCollection extends PropelCo...
Fixed small memory leak. Closes #<I>
propelorm_Propel
train
8c487d3036f49c6cc822cad5b7b9e1b814550bab
diff --git a/tasks/test-coverage.js b/tasks/test-coverage.js index <HASH>..<HASH> 100644 --- a/tasks/test-coverage.js +++ b/tasks/test-coverage.js @@ -164,7 +164,7 @@ var foundAllJavaScriptSourceFiles = function(err, files) { wrench.copyDirSyncRecursive(instrumentedDir, dir, copyOpts); log('• run test suite on ...
Allow configuration of the test reporter The reporter for the standard tests is still 'spec'; the one for the gathering of code coverage is set to 'dot' to not clutter the output of the logfile on travis.
openlayers_openlayers
train
7e1239abb70ecfca921c1538bbc6bb4145838ed1
diff --git a/latools/D_obj.py b/latools/D_obj.py index <HASH>..<HASH> 100644 --- a/latools/D_obj.py +++ b/latools/D_obj.py @@ -565,7 +565,8 @@ class D(object): @_log def sample_stats(self, analytes=None, filt=True, stat_fns={}, - eachtrace=True): + ...
allowed calculating stats on any analysis stage
oscarbranson_latools
train
6331373a971f429bfbdeff1d38a3a44d20994a92
diff --git a/autopep8.py b/autopep8.py index <HASH>..<HASH> 100755 --- a/autopep8.py +++ b/autopep8.py @@ -295,8 +295,11 @@ def continued_indentation(logical_line, tokens, indent_level, indent_char, yield (start, '{0} {1}'.format(*error)) # Look for visual indenting. - if (parens[row]...
Put "and" in the right place
hhatto_autopep8
train
9294d97ce37627d94ce43a9ee4b8612437d4a53b
diff --git a/src/qtism/data/storage/xml/marshalling/MatchInteractionMarshaller.php b/src/qtism/data/storage/xml/marshalling/MatchInteractionMarshaller.php index <HASH>..<HASH> 100644 --- a/src/qtism/data/storage/xml/marshalling/MatchInteractionMarshaller.php +++ b/src/qtism/data/storage/xml/marshalling/MatchInteraction...
Typo at MatchInteractionMarshaller.php
oat-sa_qti-sdk
train
99b2af8e72589844158ba8587959b8ec9a319b73
diff --git a/lib/sanford/cli.rb b/lib/sanford/cli.rb index <HASH>..<HASH> 100644 --- a/lib/sanford/cli.rb +++ b/lib/sanford/cli.rb @@ -102,7 +102,7 @@ module Sanford log "Listening on #{server.ip}:#{server.port}" log "PID: #{Process.pid}" - $0 = ProcessName.new(@host, server.ip, server....
Bug fix, use the host's name for the process name This was using the host's class instead of the name. Though this worked, the intent was to use the configured host name.
redding_sanford
train
a373e20188c03299c0f8f23e72eb34b23f3f206e
diff --git a/esgfpid/check.py b/esgfpid/check.py index <HASH>..<HASH> 100644 --- a/esgfpid/check.py +++ b/esgfpid/check.py @@ -93,13 +93,13 @@ class RabbitChecker(object): if success: self.__loginfo('Config for PID module (rabbit messaging queue).. ok.') self.__loginfo('Successful con...
Check method: Do not create fallback exchange. Unneccessary, solved by alternate-exchange.
IS-ENES-Data_esgf-pid
train
28fd2ed61146750461176b5aee2e010b2ccda4d4
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -9,6 +9,16 @@ var env = require('./node') // Will load browser.js in webpack var FLOAT_RANGE = /^\d+(\.\d+)?(-\d+(\.\d+)?)*$/ +function isVersionsMatch (versionA, versionB) { + return (versionA + '.').indexOf(versionB + ...
jsEOL version check (#<I>)
browserslist_browserslist
train
8a3e14e09d2a7e9913eb3a959e8c7f4befee96f6
diff --git a/lib/processor_post.js b/lib/processor_post.js index <HASH>..<HASH> 100644 --- a/lib/processor_post.js +++ b/lib/processor_post.js @@ -46,6 +46,10 @@ module.exports = ctx => { return; } + if(!ctx.env.args.draft && !file.params.published){ + return; + } + return Promise.all([ ...
check if _draft option turned on
zthxxx_hexo-directory-category
train
5b3b20700f48287c414bf00228186487798e34d9
diff --git a/grove/alpha/fermion_transforms/tests/test_bravyi_kitaev.py b/grove/alpha/fermion_transforms/tests/test_bravyi_kitaev.py index <HASH>..<HASH> 100644 --- a/grove/alpha/fermion_transforms/tests/test_bravyi_kitaev.py +++ b/grove/alpha/fermion_transforms/tests/test_bravyi_kitaev.py @@ -16,8 +16,8 @@ def test_ha...
fixing tests to work with pyquil<I>, in particular due to pauli ordering
rigetti_grove
train
bbeb8f06eebedc6c9dc5744297a1c6541b6af7e5
diff --git a/lib/app/conduit/electron_conduit.js b/lib/app/conduit/electron_conduit.js index <HASH>..<HASH> 100644 --- a/lib/app/conduit/electron_conduit.js +++ b/lib/app/conduit/electron_conduit.js @@ -46,7 +46,8 @@ var ElectronConduit = Function.inherits('Alchemy.Conduit', function ElectronCond this.url = RURL.pars...
Fix paths beginning with a prefix (like "/english" matching "en") matching said prefix
skerit_alchemy
train
43f87e5c361dfed505121769abac17338920dcac
diff --git a/ext/ruby_mapnik/extconf.rb b/ext/ruby_mapnik/extconf.rb index <HASH>..<HASH> 100644 --- a/ext/ruby_mapnik/extconf.rb +++ b/ext/ruby_mapnik/extconf.rb @@ -36,6 +36,8 @@ if %x{which mapnik-config}.length == 0 end $LDFLAGS += " " + %x{mapnik-config --libs}.chomp + " " +$LDFLAGS += " " + %x{mapnik-config -...
also link mapnik deps (fixes boost_system symbol error on osx)
mapnik_Ruby-Mapnik
train
abb25b2d486bcc01e710be502c3daf746ab8cf5f
diff --git a/go-tar.gz.go b/go-tar.gz.go index <HASH>..<HASH> 100644 --- a/go-tar.gz.go +++ b/go-tar.gz.go @@ -82,13 +82,14 @@ func tarGzFile(srcFile string, recPath string, tw *tar.Writer, fi os.FileInfo) { if fi.IsDir() { // Create tar header hdr := new(tar.Header) + // if last character of header name is '/...
prepare to be a pkg
Unknwon_cae
train
56f312c22751268126bc3a5e60cd3c7a83b0c696
diff --git a/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/QualityGatePage.java b/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/QualityGatePage.java index <HASH>..<HASH> 100644 --- a/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/pageobjects/QualityGatePage.java +...
fix QualityGateUiTest
SonarSource_sonarqube
train
6c8176e7deeecbc3231ac770985543e3b97d6198
diff --git a/src/citation/citation_view.js b/src/citation/citation_view.js index <HASH>..<HASH> 100644 --- a/src/citation/citation_view.js +++ b/src/citation/citation_view.js @@ -33,6 +33,18 @@ CitationView.Prototype = function() { var titleView = this.childViews["title"] = new TextView(this.node, this.viewFactory...
Delete buttons for citation view and figure view.
substance_nodes
train
de9f937d8080ffb2252d830eb8bcf47bbe62a952
diff --git a/nodeconductor/cloud/serializers.py b/nodeconductor/cloud/serializers.py index <HASH>..<HASH> 100644 --- a/nodeconductor/cloud/serializers.py +++ b/nodeconductor/cloud/serializers.py @@ -38,24 +38,6 @@ class CloudSerializer(core_serializers.PermissionFieldFilteringMixin, public_fields = ('uuid', 'url...
commented get_fields method was removed (NC-<I>)
opennode_waldur-core
train
132f3487503cf65ea80d28e4d853f96bc053d4b2
diff --git a/lib/createTopLevelExpect.js b/lib/createTopLevelExpect.js index <HASH>..<HASH> 100644 --- a/lib/createTopLevelExpect.js +++ b/lib/createTopLevelExpect.js @@ -1024,6 +1024,11 @@ expectPrototype.use = function (plugin) { 'The unexpected-promise plugin was pulled into Unexpected as of 8.5.0. This means...
Throw if the user attempts to install unexpected-set
unexpectedjs_unexpected
train
7ea4bd83884dc2c98458114d15a464917984f810
diff --git a/lib/session.js b/lib/session.js index <HASH>..<HASH> 100644 --- a/lib/session.js +++ b/lib/session.js @@ -8,7 +8,7 @@ const hkdf = require('futoin-hkdf'); const deriveKey = (secret) => hkdf(secret, 32, { info: 'JWE CEK', hash: 'SHA-256' }); const epoch = () => Date.now() / 1000 | 0; -module.exports = (...
Use single prop for property and cookie names
auth0_express-openid-connect
train
2b3f8734f6c020c6817f4710eea72a2349afb797
diff --git a/cli/cli.go b/cli/cli.go index <HASH>..<HASH> 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -514,9 +514,10 @@ var serveCommand = &cobra.Command{ return true } - // if filepath.Ext(addPath) == ".js" { - // return true - // } + if filepath.Ext(addPath) == config.Static.TemplateExtensio...
adding template extension allowance for binary rebuilding
influx6_relay
train
3081ba64e79977557aa340fd17c71d8fb38ef6ed
diff --git a/pyorbital/tlefile.py b/pyorbital/tlefile.py index <HASH>..<HASH> 100644 --- a/pyorbital/tlefile.py +++ b/pyorbital/tlefile.py @@ -38,15 +38,15 @@ from xml.etree import ElementTree as ET from itertools import zip_longest -TLE_URLS = ('https://www.celestrak.org/NORAD/elements/active.txt', +TLE_URLS = ('...
www.celestrak.org → celestrak.org After the http→https change in #<I>, the www. should be dropped as well to avoid SSL certificate errors/warnings. Change www.celestrak.org to celestrak.org for those cases.
pytroll_pyorbital
train
0c96c4b88e2af881be0187f9f6c3db64d0a7a5c3
diff --git a/zipkin-collector/scribe/src/main/java/zipkin/collector/scribe/ScribeCollector.java b/zipkin-collector/scribe/src/main/java/zipkin/collector/scribe/ScribeCollector.java index <HASH>..<HASH> 100644 --- a/zipkin-collector/scribe/src/main/java/zipkin/collector/scribe/ScribeCollector.java +++ b/zipkin-collector...
Defaults ScribeCollector to NOOP_METRICS
apache_incubator-zipkin
train
4299d227a638edb5762eadd9f73745931011d5de
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -138,7 +138,7 @@ function getNodes (num, callback) { return new Promise(function (resolve, reject) { getCores(1).then(coreURI => { let getNodeURI = _.first(coreURI) + '/nodes/random' - request({ uri: getNod...
Changed timeout to <I> seconds
chainpoint_chainpoint-client-js
train
362af89c7952dd94a8e08d5f22d208d74fe10f8e
diff --git a/lib/yard/code_objects/class_variable_object.rb b/lib/yard/code_objects/class_variable_object.rb index <HASH>..<HASH> 100644 --- a/lib/yard/code_objects/class_variable_object.rb +++ b/lib/yard/code_objects/class_variable_object.rb @@ -2,5 +2,7 @@ module YARD::CodeObjects # Represents a class variable ins...
Add class variables to templates along with constants
lsegal_yard
train
c4bd1a911213d36007a0b8869f1ad6cba53a267c
diff --git a/lib/providers/linux/parseProcStat/index.js b/lib/providers/linux/parseProcStat/index.js index <HASH>..<HASH> 100644 --- a/lib/providers/linux/parseProcStat/index.js +++ b/lib/providers/linux/parseProcStat/index.js @@ -7,7 +7,7 @@ module.exports = function parseProcStat(procVersion) { return function p...
added more detailed errors for proc not supported version
arunoda_node-usage
train
a6b3034e71e93bd37632deb83271559aec63d91a
diff --git a/acorn_loose.js b/acorn_loose.js index <HASH>..<HASH> 100644 --- a/acorn_loose.js +++ b/acorn_loose.js @@ -110,7 +110,7 @@ throw e; } resetTo(pos); - if (replace === true) replace = {start: pos, end: pos, type: tt.name, value: "✖"}; + if (replace === true) replace ...
[loose parser] More fixes to locations
babel_babylon
train
5dfb4ea1371151e0a4cf5067049a27691fb868de
diff --git a/WindowsAzure/Blob/BlobRestProxy.php b/WindowsAzure/Blob/BlobRestProxy.php index <HASH>..<HASH> 100644 --- a/WindowsAzure/Blob/BlobRestProxy.php +++ b/WindowsAzure/Blob/BlobRestProxy.php @@ -99,7 +99,8 @@ class BlobRestProxy extends ServiceRestProxy implements IBlob * * @return int */ - ...
Whitespace changes only, address a nit from ogail
Azure_azure-sdk-for-php
train
30affde3c86469dfb345b448309a7a8cec1e062d
diff --git a/Samurai/Onikiri/EntityTable.php b/Samurai/Onikiri/EntityTable.php index <HASH>..<HASH> 100644 --- a/Samurai/Onikiri/EntityTable.php +++ b/Samurai/Onikiri/EntityTable.php @@ -350,8 +350,8 @@ class EntityTable $attributes = array_merge($defaults, $attributes); $entity = new $class($this, ...
call setContainer before initialize
samurai-fw_samurai
train
4ef0c85de569aee3f80087e65d69d8b2d155ef01
diff --git a/src/url-toolkit.js b/src/url-toolkit.js index <HASH>..<HASH> 100644 --- a/src/url-toolkit.js +++ b/src/url-toolkit.js @@ -1,8 +1,8 @@ // see https://tools.ietf.org/html/rfc1808 (function (root) { - var URL_REGEX = /^((?:[a-zA-Z0-9+\-.]+:)?)(\/\/[^\/?#]*)?((?:[^\/?#]*\/)*[^;?#]*)?(;[^?#]*)?(\?[^#]*)?(#...
use `[^]` instead of `.` because `.` doesn't actually match all characters
tjenkinson_url-toolkit
train
8e0eb4034c73ced5589408c12f7953d163581369
diff --git a/src/main.js b/src/main.js index <HASH>..<HASH> 100644 --- a/src/main.js +++ b/src/main.js @@ -42,12 +42,11 @@ export default class ImgixClient { buildURL(path = '', params = {}) { const sanitizedPath = this._sanitizePath(path); - const queryParams = this._buildParams(params); + let finalPar...
refactor: use/reuse finalParams for single return
imgix_imgix-core-js
train
851513b39f445796f14d698dd97f31c0f323f680
diff --git a/spec/file.spec.js b/spec/file.spec.js index <HASH>..<HASH> 100644 --- a/spec/file.spec.js +++ b/spec/file.spec.js @@ -927,14 +927,20 @@ describe('Test file', function() { }); }); - it('should not allow file acls in www bucket', function() { + it('should allow file acls in www bucket', f...
Fix test cases to allow load permission modification in the www bucket
Baqend_js-sdk
train
0c434115e02bb872115a3ecd6490418c6245093f
diff --git a/acceptable/_doubles.py b/acceptable/_doubles.py index <HASH>..<HASH> 100644 --- a/acceptable/_doubles.py +++ b/acceptable/_doubles.py @@ -46,7 +46,7 @@ class ServiceMock(Fixture): _requests_mock = responses.mock def __init__(self, service, methods, url, input_schema, output_schema, - ...
Allow ServiceMock to receive custom output headers and error responses
canonical-ols_acceptable
train
63c119881400eef854a0ef379cd83c6734186d23
diff --git a/app.rb b/app.rb index <HASH>..<HASH> 100644 --- a/app.rb +++ b/app.rb @@ -10,7 +10,7 @@ require "lib/models" require "lib/path" require "lib/overrides" -set :cache_enabled, (Nesta::Config.cache == "true") +set :cache_enabled, Nesta::Config.cache helpers do def set_from_config(*variables)
Fixed caching bug; you could never enable it.
gma_nesta
train
0c68d23f19010379a9320690ca17a26743c8f071
diff --git a/railties/lib/rails/rack/metal.rb b/railties/lib/rails/rack/metal.rb index <HASH>..<HASH> 100644 --- a/railties/lib/rails/rack/metal.rb +++ b/railties/lib/rails/rack/metal.rb @@ -11,6 +11,9 @@ module Rails cattr_accessor :metal_paths self.metal_paths = ["#{Rails.root}/app/metal"] cattr_...
make pass through error code configurable [#<I> state:resolved]
rails_rails
train
4f270d003b3f51d1c7d83dbd22222cd5e863c5c4
diff --git a/client/src/views/fields/link-parent.js b/client/src/views/fields/link-parent.js index <HASH>..<HASH> 100644 --- a/client/src/views/fields/link-parent.js +++ b/client/src/views/fields/link-parent.js @@ -85,6 +85,10 @@ Espo.define('views/fields/link-parent', 'views/fields/base', function (Dep) { ...
linkParent field entityList filtered by disabled
espocrm_espocrm
train
77421139ab0a37cb2d804b8acb6f65e22d5f2017
diff --git a/libcontainer/user/user.go b/libcontainer/user/user.go index <HASH>..<HASH> 100644 --- a/libcontainer/user/user.go +++ b/libcontainer/user/user.go @@ -358,8 +358,8 @@ func GetExecUser(userSpec string, defaults *ExecUser, passwd, group io.Reader) ( // Okay, so it's numeric. We can just roll with this....
libcontainer/user: add supplementary groups only for non-numeric users
opencontainers_runc
train
1585a56cc43046154dc856c467a4c9be51bcbf5e
diff --git a/includes/class-freemius.php b/includes/class-freemius.php index <HASH>..<HASH> 100755 --- a/includes/class-freemius.php +++ b/includes/class-freemius.php @@ -8871,6 +8871,34 @@ /** * @author Leo Fajardo (@leorw) * + * @return array|null + */ + private fun...
[multisite] [opt-in] When loading the network-level account page, if the network install can't be found, iterate over the blogs and find the first site with an install and update `network_install_blog_id` with the blog ID or set it to null if no installs can be found.
Freemius_wordpress-sdk
train
5fcf2b412965a90275806ea809ebf73f04d9e4ef
diff --git a/attach.go b/attach.go index <HASH>..<HASH> 100644 --- a/attach.go +++ b/attach.go @@ -44,7 +44,7 @@ func attachHandler(conn net.Conn) { <-attachWait job = state.GetJob(req.JobID) } - if job.Job.Config.Tty { + if job.Job.Config.Tty && req.Flags&lorne.AttachFlagStdin != 0 { resize := func() { Dock...
host: Only resize TTY if Stdin attached
flynn_flynn
train
8b5c7c3ac0a08542597533d274cb88f04f5e3b58
diff --git a/index.js b/index.js index <HASH>..<HASH> 100755 --- a/index.js +++ b/index.js @@ -196,8 +196,8 @@ var createFSEventsInstance = function(path, callback) { FSWatcher.prototype._watchWithFsEvents = function(path) { var _this = this; + if (this._isIgnored(path)) return; var watcher = createFSEventsIn...
Do not create fsevents watcher for ignored path
paulmillr_chokidar
train
6156c077f3c8f2e32fca19cb4f808cf1733f0a5d
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -37,7 +37,8 @@ function initialize(args) { if (apiDocValidation.errors.length) { console.error(loggingKey, 'Validating schema before populating paths'); - console.error(loggingKey, 'validation errors', JSON....
minor formatting, using path params properly.
kogosoftwarellc_open-api
train
5cc302986ac7599188d41aec78417f9edaeba5a5
diff --git a/test/tools/test_phase.py b/test/tools/test_phase.py index <HASH>..<HASH> 100644 --- a/test/tools/test_phase.py +++ b/test/tools/test_phase.py @@ -7,7 +7,10 @@ from test import mock @pytest.fixture(name="phase") def make_phase(): phase = af.AbstractPhase("phase name") - phase.variable.one = af.Pri...
test demonstrating promises are OK as kwargs
rhayes777_PyAutoFit
train
84ffda007c6fef42a7ecea0c2f847a295e596651
diff --git a/amazon_dash/execute.py b/amazon_dash/execute.py index <HASH>..<HASH> 100644 --- a/amazon_dash/execute.py +++ b/amazon_dash/execute.py @@ -278,7 +278,9 @@ class ExecuteUrlServiceBase(ExecuteUrl): :return: HTTP Headers :rtype: dict """ - return copy.copy(self.default_headers...
Issue #<I>: Authorization Header with OpenHab
Nekmo_amazon-dash
train
8f2f79ca5196d4f11872e57efbbfabccd3e08269
diff --git a/tile_generator/package_definitions.py b/tile_generator/package_definitions.py index <HASH>..<HASH> 100644 --- a/tile_generator/package_definitions.py +++ b/tile_generator/package_definitions.py @@ -66,7 +66,7 @@ class PackageBoshRelease(BasePackage): flags = [flag.BoshRelease] _schema = { ...
Fix issue #<I>, handle Capital letters as a valid package name start, allow for underscore _ in name
cf-platform-eng_tile-generator
train
572541e3fa10c0521e90ee436ee27eac415a54a7
diff --git a/console/src/main/resources/root/libs/composum/nodes/browser/js/browser.js b/console/src/main/resources/root/libs/composum/nodes/browser/js/browser.js index <HASH>..<HASH> 100644 --- a/console/src/main/resources/root/libs/composum/nodes/browser/js/browser.js +++ b/console/src/main/resources/root/libs/compos...
Browser: integrate browser back / forward with history
ist-dresden_composum
train
b1e757dbc074f36d06f075aaa287d25b4b117a38
diff --git a/pydsl/Function/Function.py b/pydsl/Function/Function.py index <HASH>..<HASH> 100644 --- a/pydsl/Function/Function.py +++ b/pydsl/Function/Function.py @@ -26,5 +26,6 @@ LOG = logging.getLogger(__name__) class FunctionInterface: """A method applied to a function to comunicate with other functions""" ...
added empty __init__ to make python2 happy
nesaro_pydsl
train
8cef951707dd81176caba20abc838a5520fe22e8
diff --git a/index.php b/index.php index <HASH>..<HASH> 100644 --- a/index.php +++ b/index.php @@ -150,7 +150,7 @@ } if (!empty($section->sequence) or !empty($section->summary) or $editing) { - print_simple_box_start('center', '100%', '', 5, 'sitetopic'); + print_box_start('gen...
Fixed badly specificed simple box on site topic
moodle_moodle
train
565340c6707b6facc83c2fe07878ca207a252f82
diff --git a/mod/quiz/lib.php b/mod/quiz/lib.php index <HASH>..<HASH> 100644 --- a/mod/quiz/lib.php +++ b/mod/quiz/lib.php @@ -80,6 +80,8 @@ function quiz_add_instance($quiz) { } } + delete_records('event', 'modulename', 'quiz', 'instance', $quiz->id); // Just in case + $event = NULL; $eve...
Simpler way to update events for a quiz
moodle_moodle
train
ab178295b9b1fe440d2f3413fb04071a37aabd81
diff --git a/actions/class.TestRunner.php b/actions/class.TestRunner.php index <HASH>..<HASH> 100644 --- a/actions/class.TestRunner.php +++ b/actions/class.TestRunner.php @@ -184,7 +184,6 @@ class taoQtiTest_actions_TestRunner extends tao_actions_ServiceModule { public function index() { $this->beforeAction()...
No more auto forward for assessment test session thanks to the factory. git-svn-id: <URL>
oat-sa_extension-tao-testqti
train
9bdf0a01f1dce08a041c0ea26b236309d66c3dba
diff --git a/src/main/java/com/netflix/logging/messaging/MessageBatcher.java b/src/main/java/com/netflix/logging/messaging/MessageBatcher.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/netflix/logging/messaging/MessageBatcher.java +++ b/src/main/java/com/netflix/logging/messaging/MessageBatcher.java @@ -115,7...
set shutdown flag to true in stop() method before waiting for empty queue After a quiet period the batch size and queue size might be empty thus ending the while loop but some new message had a chance to be added to the queue before the flag was set. Thus calling the stop() method from a different thread than the on...
Netflix_blitz4j
train
cfc7e425c5d97976fa78e00af2eec5c172c7662c
diff --git a/lib/smpp/transmitter.rb b/lib/smpp/transmitter.rb index <HASH>..<HASH> 100644 --- a/lib/smpp/transmitter.rb +++ b/lib/smpp/transmitter.rb @@ -3,16 +3,6 @@ class Smpp::Transmitter < Smpp::Base - def initialize(config, delegate) - super - - ed = @config[:enquire_link_delay_secs] || 5 - comm_in...
Removed duplicate code from Smpp::Base.
raykrueger_ruby-smpp
train
0494a22d204a108ed230ec68622c466b54eb148f
diff --git a/_pydev_bundle/pydev_ipython_console_011.py b/_pydev_bundle/pydev_ipython_console_011.py index <HASH>..<HASH> 100644 --- a/_pydev_bundle/pydev_ipython_console_011.py +++ b/_pydev_bundle/pydev_ipython_console_011.py @@ -160,7 +160,7 @@ class PyDevTerminalInteractiveShell(TerminalInteractiveShell): ...
Fixed issue where the interactive console was not working with IPython 5.
fabioz_PyDev.Debugger
train
1bbfeb8f94ea3a9a75af35f4f618be78c46da39f
diff --git a/src/Picqer/Financials/Exact/Model.php b/src/Picqer/Financials/Exact/Model.php index <HASH>..<HASH> 100644 --- a/src/Picqer/Financials/Exact/Model.php +++ b/src/Picqer/Financials/Exact/Model.php @@ -181,4 +181,24 @@ abstract class Model implements \JsonSerializable ]); return isset($result...
Added method Model::findId method search records on a key like 'Code' and returns the value of the primary key.
picqer_exact-php-client
train
bdf9376ca8d6a4ce5e53e21f380440584ee56680
diff --git a/cell/ssh_test.go b/cell/ssh_test.go index <HASH>..<HASH> 100644 --- a/cell/ssh_test.go +++ b/cell/ssh_test.go @@ -1,6 +1,7 @@ package cell_test import ( + "bufio" "fmt" "os" "path/filepath" @@ -20,10 +21,6 @@ import ( var _ = Describe("SSH", func() { verifySSH := func(address, processGuid st...
Test ssh local port forwarding [#<I>]
cloudfoundry_inigo
train
7792cbce56adc9fc42230a2826a167a71c3e6539
diff --git a/temperusb/temper.py b/temperusb/temper.py index <HASH>..<HASH> 100644 --- a/temperusb/temper.py +++ b/temperusb/temper.py @@ -144,6 +144,11 @@ class TemperDevice(object): except usb.USBError as err: LOGGER.debug(err) self._device.set_configurat...
Eliminate kernel messages on get_temperature call Developed against CentOS <I>; kernel <I>-<I>.el6.x<I>_<I>.
padelt_temper-python
train